Showing results for 
Search instead for 
Did you mean: 

Copy value from SOAP Request message to Response message

0 Kudos

Dear Experts,
I have an requirement which need to collect from messageID of request and passing same value while sending response back to Sender

Soap(Syn call) <--->SAP PI <--->SAP Proxy

PI receives Input request with SOAP envelope parse the data from XSLT mapping transformation and response also with XSLT mapping response generates back to sender

My requirement is: How to copy the messageID from Request and pass it on response to SOAP sender.

Could you please suggest me some explore possibilities here ?

Input XML request to PI from SOAP Sender

  • <SOAP-ENV:Envelope xmlns:SOAP-ENV="">
  • <SOAP-ENV:Header>
  • <wsa:MessageID >053f0743-79f0-410e-93ce-6535d55e1b13</wsa:MessageID>
  • </SOAP-ENV:Header>
  • <SOAP-ENV:Body>
  • <v1:PrDistri>
  • <v1:Group>
  • <v1:GroupID>35010000</v1:GroupID>
  • <v1:Language>en</v1:Language>
  • </v1:Group>
  • </v1:PrDistri>
  • <SOAP-ENV:Body>
  • </SOAP-ENV:Envelope>

XML Response to SOAP sender from PI

  • <?xml version="1.0" encoding="UTF-8" ?>
  • <soap:Envelope xmlns:soap="">
  • <soap:Header>
  • <wsa:RelatesMsgID >053f0743-79f0-410e-93ce-6535d55e1b13</wsa:RelatesMsgID>
  • </soap:Header>
  • <soap:Body>
  • < v1:PrDistriRes>
  • <v1:Status>Success</v1:Status>
  • < /v1:PrDistriRes >
  • </soap:Body>
  • </soap:Envelope>

Thank you very much.

View Entire Topic
Active Contributor
0 Kudos