cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Header data in a SOAP Envelope for SOAP Sender Adapter

prashanthgurra
Explorer
0 Kudos

Hello All,

Am using a SOAP sender adapter and want to use the data inside the SOAP Header for some routing purpose(extended receiver determination). Any SOAP message coming into XI will look something like below. But XI will pass the contents of <SOAP-ENV:Body> to Payload and <SOAP-ENV:Header> to the SOAP Header category you can see that in SXMB_MONI.

Is there a way to read the data in my SOAP Header to be later used in my extended receiver determination.

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:Q-ENV="/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<SOAP-ENV:Header>
		<Q-ENV:Header>
			<Q-ENV:Sender-Id>1</Q-ENV:Sender-Id>
			<Q-ENV:Receiver-Id></Q-ENV:Receiver-Id>
			<Q-ENV:Correlation-Id></Q-ENV:Correlation-Id>
			<Q-ENV:Message-Id></Q-ENV:Message-Id>
			<Q-ENV:Date-Sent></Q-ENV:Date-Sent>
			<Q-ENV:Document-Type></Q-ENV:Document-Type>
			<Q-ENV:Message-Format></Q-ENV:Message-Format>
		</Q-ENV:Header>
	</SOAP-ENV:Header>
	<SOAP-ENV:Body>
		<Q-ENV:Body>
			<Q-ENV:Content-Type>text/xml</Q-ENV:Content-Type>
			<Q-ENV:Message-Type></Q-ENV:Message-Type>
			<Q-ENV:Encoding>UTF-8</Q-ENV:Encoding>
			<Q-ENV:Message-Body>
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Thanks for your replies in advance.

Regards,

Prashanth

View Entire Topic
former_member184681
Active Contributor
0 Kudos

Hi,

Check chapter: "4. Define Conversion Parameters" in the help document here:

http://help.sap.com/saphelp_nw73/helpdata/en/48/3555240bea31c3e10000000a42189d/content.htm

Hope this helps,

Greg