Skip to Content
0
Jul 23, 2009 at 10:35 AM

SOAP Sender - Extract Header Values

225 Views

Hello Friends,

I am executing SOAP sender to RFC scenario.

I am sending SOAP request through a test tool. This is the request data which goes to SOAP sender.

POST http://19.49.188.158:50000/XISOAPAdapter/MessageServlet?channel=:DEV:Sender_SOAP_BPSearch&version=3.0&Sender.Service=DEV&Interface=urn:sap-com:BPSearch_MI_OBS_TEST HTTP/1.1

Content-Type: text/xml;charset=UTF-8

SOAPAction: "http://sap.com/xi/WebService/soap1.1"

MyCookie: SmgqXkpotv

User-Agent: Jakarta Commons-HttpClient/3.1

Proxy-Connection: Keep-Alive

Content-Length: 323

Authorization: Basic bXNhbmRlZTQ6c2FwX3Npc2w=

Host: 19.49.188.158:50000

http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn: sap.com">

<soapenv:Header/>

<soapenv:Body>

<urn:BPSearch_MT_Input>

<BP_ID>001</BP_ID>

</urn:BPSearch_MT_Input>

</soapenv:Body>

</soapenv:Envelope>

I am doing graphical mapping. In mapping time I want to extract the value of MyCookie which is set in Header (see above).

I can use "Set Adapter specific Message Attributes" checkbox. but what to do after that?

Any idea how to extract MyCookie this?