cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI http to NFS scenario

former_member269717
Participant
0 Kudos

Hello friends,

I am working on a SAP PI HTTP to NFS scenario.

Sender - TEST_HTTP_SENDER

Receiver - TEST_NSF_RECEIVER

Now the catch is "The sender portal will send HTTP post request to receiver WebService for uploading of attachments files. These files/File must be saved on receiver's Sharefolder path". Can someone Please help me with steps for the scenario. Also, is this scenario possible with multiple attachments as well?


Thank You for your Help in advance!

Regards,

Prerna

Accepted Solutions (0)

Answers (2)

Answers (2)

dilipkkp2412
Contributor

Hi Prerna Sharma,

  • If its like, you need to host a PI-web-service which can be consumed by 3rd Party
  • and while triggering it, 3rd party can send attachments (single or multiple) with soap-request.
  • and in PI, on receipt of attachments, extracting it to some sap-app directory.

Then for same,

  • in PI, configure a Soap-to-File (Synchronous) scenario.
  • In Request-MessageMap, use an UDF to extract attachment incoming payload
  • You can refer following blog for UDF help
  • https://blogs.sap.com/2017/10/07/sap-pi-udf-to-unzip-attachment/
  • In Response-MessageMap, you can just put confirmation of receipits of attachments.

Thanks & Regards,

Dilip

former_member269717
Participant
0 Kudos

Hello Dilip,

Thank you for your detailed answer!

One more clarification required - Sender only uses HTTP, still the scenario is same? I do understand that SOAP uses HTTP as a transport Protocol.

Regards,

Prerna

dilipkkp2412
Contributor
0 Kudos

Yes, HTTP is a protocol, please do not get confused with HTTP and SOAP Adapters, both support mesaage interchange over HTTP