Skip to Content
0
Jul 11, 2007 at 11:42 AM

Sender SOAP adapter: get soap header data

7 Views

Hi,

I've been going through various posts and blogs here on SDN + looked in the how to guide for SOAP adapter, but still find it quite difficult to actually find out how to do it. I've tried to follow recommendations seen, but it doesn't add up.

So can someone please tell me how to get an element situated in the SOAP header of the request sent to XI via sender soap adapter?

Let's for instance say the request looks like this:

http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Header>

<SSN>1234567890</SSN>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<event>

<elem1>data 1</elem1>

<elem2>data 2</elem2>

<elem3>data 3</elem3>

</event>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

How can I get the data in the SSN-header element at mapping time?

I'm sure this can be done by using adapter modules as the first step adapter, but I prefer doing it at mapping time if possible.

Best Regards,

Daniel