cancel
Showing results for 
Search instead for 
Did you mean: 

PDF File Creation from SOAP Payload Attachment

ADIDAS
Participant
0 Kudos

Hi,

We have a scenario where we have to send a pdf file (Invoice Printout) as attachment along with the Message body. We have been able to attach the PDF to the Message Payload as attachment using Proxy.

We are stuck at how can we can create a File from that Pdf attachment using the File adapter?

Arunava

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Is you interface a Proxy - XI- File with Proxy sending the Payload and Attachment and you need to pass both these using a file adapter?

If yes, then Receiver File Adapter do not support attachments and you need to consider other alternates.

If you requirement is to create a PDF file from the file adapter like pointed by Satish use the Conversion Agent or, write a module that creates a PDF.

Regards

Bhavesh

justin_santhanam
Active Contributor
0 Kudos

Das,

Kindly have a look at the below weblog, it will give you an idea.

/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter

Best regards,

raj.

ADIDAS
Participant
0 Kudos

Hi RAj,

This doesnot exactly fit our scenario as in our case the data is already pdf file as an Attachment and not as XML message as in Weblog.

We need to separate the attachment and create a file out it.

Arunava

justin_santhanam
Active Contributor
0 Kudos

Das,

I haven't worked on such scenarios, any how just see the below discussion consider it if its useful, or ignore it.

Best regards,

raj.

Former Member
0 Kudos

Das,

You need conversion agent to convert PDF files into the xml format and send the data to the file adapter.

---Satish