Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 03, 2017 at 02:13 PM

    Shankar,

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

    Options:

    • Custom Module.
    • Java Mapping.

    Br,

    Manoj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 11, 2017 at 10:24 AM

    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

    Add comment
    10|10000 characters needed characters exceeded