Skip to Content
0

How can I pass a file to SOAP receiver as an attachment in a pass through scenario?

Jan 03, 2017 at 12:41 PM

99

avatar image

Hello all,

I have a SFTP->PI->SOAP async PASS-THROUGH scenario, where I need to pass a pdf file as an attachment to the SOAP server. There is no mapping involved, and no FCC or file structure. I just need to pick the pdf files from the SFTP server and pass it to the SOAP receiver as an attachment.


As of now, I have configured PayloadSwapBean in the PI SFTP sender channel so that the pdf file that is picked becomes an attachment and in the SOAP receiver, I have selected the "Keep Attachment" checkbox. In the message log, I see a message as Swapping successful, however, I don't see any attachment in the XI message.


Let me know, if my assumption of the solution would be fine, and also suggest if the requirement can be achieved in any other methods.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Manoj K Jan 03, 2017 at 02:13 PM
0

Shankar,

Are you picking two files from SFTP? if No then Payloadswapbean dosen't work here.

Options:

  • Custom Module.
  • Java Mapping.

Br,

Manoj

Share
10 |10000 characters needed characters left characters exceeded
srikanth reddy d Jul 11, 2017 at 10:24 AM
0

Hi Manoj,

In FTP server, we would have zipped files available, PO system has to pick up these files and do the Base 64 encoding and send it to thrid party. The scenario is Async to Sync, hence you need to go for a Asycn to Sync bridge and try to suppress the response sent by third party in PO system.

Could you please provided us it will help full us .

  • Custom Module.
  • Java Mapping.

regards

Srikanth

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hello Srikanth bhai,

Hope you are doing good.

Use the code from below thread suits perfect for your requirement : https://answers.sap.com/questions/233941/issue-with-pdf-upload-to-sharepoint.html?childToView=237232#answer-237232

Br,

Manoj

0