I am currently attempting to make some calls to a wsdl web service with one of our back office systems.
The system requires a specific kind of security header and I am having issues with getting header information to go through on either of the plugins. I have tried using various VB and JavaScript calls, but so far have had no luck with those either. The working (successfully tried through a web proxy debug service) format is below (red text denotes anonymisation). Any advice with this would be great!
Content-Type: text/xml; charset=utf-8
SOAPAction: “SOAPActionURL”
Host: Hostname:Port
Content-Length: 1847
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:oas=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd” xmlns:ser=“http://www.URL/services” xmlns:typ=“http://www.URL/types”>
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand=“1” xmlns:wsse=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd”>
<wsse:UsernameToken wsu:Id=“UsernameToken-7683000” xmlns:wsu=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd”>
<wsse:Username>USERNAME</wsse:Username>
<wsse:Password Type=“http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<ser:add>
<ser:addAttributes>
<typ:ATTRIBUTE1>Attribute1</typ:ATTRIBUTE1> </ser:addAttributes>
</ser:add>
</soapenv:Body>
</soapenv:Envelope>