Skip to Content
May 08, 2012 at 11:01 PM

Soap Adapter request header


We are tyring to figure out how to read information in the request header and use it in the SOAP services we have created on PI. The caller sets accept-language and we are supposed to read this out to determine the language to use in responses.

I have been attempting this using ASMA by clicking the check boxes for Set ASMA and Variable Transport binding. I then set the name of the header attribute I want, and try to read it out with a piece of java in the mapping.

I have used ASMA's with other adapters, but not with SOAP. Am I interpreting the documentation incorrectly?

Example raw message:

POST http://someserver:53000/XISOAPAdapter/MessageServlet?senderParty=&senderService=WEBSERVICES_DEV&receiverParty=&receiverService=&interface=SRCheck& HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""
Accept-Language: en-US
Authorization: Basic

User-Agent: Jakarta Commons-HttpClient/3.1
Host: mancala:53000
Content-Length: 276

<soapenv:Envelope xmlns:soapenv="" xmlns:cus="">