Skip to Content
0
Aug 29, 2023 at 09:57 AM

Extract attachment from xop:Include using SAP CI

48 Views

Hi,

I am using SAP CI, and have used SOAP 1.x connector from which I am receiving payload as the SOAP response. In this SOAP response returned, the below <xop:Include>contains the attachment which I need to extract and send to 3rd party system -

<ns0:File href="test.xlsm" name="">

<ns0:Contents>

http://www.w3.org/2004/08/xop/include" href="cid:38618b0a-4c86-4c6f-9041-2b5a327e4451"/>

</ns0:Contents>

</ns0:File>

Need help with how I can extract the attachment contained and then send it to the 3rd party?

Thanks in advance!