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&interfaceNamespace=urn:stuff.com/ws/customer HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.1
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="urn:nuskin.com/ws/customer">