Skip to Content
0
Former Member
Aug 05, 2016 at 06:10 AM

Changing SOAP Header Message Properties in JMS Receiver Channel

225 Views

Hi All,

This is an IDoc to JMS(WebSphere MQ) asynchronous scenario. So we have outbound Interface as IDoc and Inbound Interface as SI_I_Asyn_RequestToShip.

In message mapping, at target-side XML, we have used IDoc XSD (as an external definition) with changes in the field-length of 2-3 fields.

There is no sender channel and sender agreement configured.

Since target system don't want JMS header details in the message, I have set 'Target Client' parameter (under Target tab) with value "WebSphereMQ (Non-JMS)".

Also target system wants SOAP header details in the message, I have set 'Mapping of Message' parameter ()under Processing tab with value "Entire Message = JMS Payload".

Hence the target system is receiving the XML message along with below kind SOAP Header details;

<SAP:Sender>

<SAP:Service>D31510</SAP:Service>

<SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">SHPORD.DELVRY01.ZDEVRY02</SAP:Interface>

</SAP:Sender>

<SAP:Receiver>

<SAP:Party scheme="" agency=""/>

<SAP:Service>BC_Receiver</SAP:Service>

<SAP:Interface namespace="http://XYZ.com/SAP/WH/Namespace">SI_I_Asyn_RequestToShip</SAP:Interface>

<SAP:Mapping notRequired="M">

<SAP:ObjectId>ij9odsiYPh61Msjw</SAP:ObjectId>

<SAP:SWCV>MvT/UP+9//RCgJACw</SAP:SWCV>

<SAP:SP>-1</SAP:SP>

<SAP:PropertyId>Y1oVQNJQAAAC1TUg</SAP:PropertyId>

</SAP:Mapping>

</SAP:Receiver>

<SAP:Interface namespace="http://XYZ.com/SAP/WH/Namespace">SI_I_Asyn_RequestToShip</SAP:Interface>

But the target system wants the changes in the "SAP: Interface" element values in both the above occurrences as below;

<SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">SHPORD.DELVRY01.ZDEVRY02</SAP:Interface>


How can we achieve this? Please suggest.



Thanks,

Amit Shantaram Patil