cancel
Showing results for 
Search instead for 
Did you mean: 

Get soap attachment

Former Member
0 Kudos

Hi,

I have developed a scenario where an Outbound Asynchronous HTTP request is made which is then mapped to an Inbound Synchronous SOAP interface that calls a web service. The webservice returns a PDF file. This works perfectly and I can see the attachment in SXMB_MONI.

What I would like to do is use the file adapter to send this PDF file to a FTP server. What I don't know how to do is get the attachment and pass it to the File Adapter.

Can anyone please offer some advice.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Please find below blog

/people/baris.buyuktanir2/blog/2007/03/06/how-to-create-a-web-service-with-attachments-soap-with-attachments

Thanks,

RamuV

Former Member
0 Kudos

Sorry RamuV but this is a SAP PI question. The blog isn't relevant.

Prateek - I understand that I need to swap the payload. Once I've swapped the payload how do I map it?

Thanks

prateek
Active Contributor
0 Kudos

As u said its a pdf file, no mapping would be required.

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

Regards,

Prateek

prateek
Active Contributor
0 Kudos

U ll have to use BPM for ur scenario. Async Sync Bridge

When u receive the response, use PayloadSwapBean for this response message. This will convert ur attachment to payload. Then use file receiver to send this payload as binary file

Regards,

Prateek