cancel
Showing results for 
Search instead for 
Did you mean: 

xml file name from payload

Former Member
0 Kudos

pls find attached, we have alot of payload, the first one under node: inbound message/payloads/maindocument

also the last one under node: response/payloads, may i kno w the difference between these two payloads?

also can we get XML file name in PI from soap header, sopa body? under which node? thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Jolin,

Adding to 's comments:


the first one under node: inbound message/payloads/maindocument

This is the untransformed payload, also called as the raw file (except if you use fcc).


also the last one under node: response/payloads, may i kno w the difference between these two payloads?

This is the transformed payload e.g after message mapping. The payload is the same if you view the RequestMessageMapping step.


also can we get XML file name in PI from soap header, sopa body? under which node? thanks

The XML filename can only be retrieved if it is in the XIHeader e.g FileName of FileAdapter, or a custom HTTP Header that can be retrieved via dynamic configuration.

Regards,

Mark

Former Member
0 Kudos

Dear expert,

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--  Inbound Message

  -->

- <SAP:Manifest wsu:Id="wsuid-manifest-5*********1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

- <SAP:Payload xlink:href="cid:payload-6de1**********@sap.com">

  <SAP:Name>MainDocument</SAP:Name>

  <SAP:Description />

  <SAP:Type>Application</SAP:Type>

  </SAP:Payload>

  </SAP:Manifest>

where should we find file name?

maheswarareddykonda
Active Contributor
0 Kudos

Hi ,

you can see file name here, you can just open Dynamic configuration.

iaki_vila
Active Contributor
0 Kudos

Hi Jolin,

You don't have a lot of payloads, the payload it always unique but in different step of the PI pipeline. In each step the payload can or not to can be modified. You can follow the payload live in each step.


also can we get XML file name in PI from soap header, sopa body? under which node? thanks

You should read carefully the PI message structure, inside the PI, the payload travels like a SOAP message: Pipeline Steps in PI | SCN

Regards.

Former Member
0 Kudos

thanks, but in the PI pipeline, I didn't find the XML file name.

any idea?

iaki_vila
Active Contributor
0 Kudos

Hi Jolin,


thanks, but in the PI pipeline, I didn't find the XML file name.

In PI the payload is the first attachment of the SOAP message (Messages - SAP NetWeaver Process Integration - SAP Library), in this way you can check in the SOAP body one number that it is a reference of this one first attachment:

Here you have the name, in SAP:Name, that it is always MainDocument for the payload.

Regards.

Former Member
0 Kudos

I paste my sap payload under soap body, no file name inside, pls assist, thanks

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!--  Inbound Message

  -->

- <SAP:Manifest wsu:Id="wsuid-manifest-5*********1551F7" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

- <SAP:Payload xlink:href="cid:payload-6de1**********@sap.com">

  <SAP:Name>MainDocument</SAP:Name>

  <SAP:Description />

  <SAP:Type>Application</SAP:Type>

  </SAP:Payload>

  </SAP:Manifest>

where should we find file name?