Since this information is not easy to find, I want to share it with you. Valid WSSE security header should look like this:
1 2 3 4 5 6 7 8 |
<soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="1"> <wsse:UsernameToken> <wsse:Username>yourusername</wsse:Username> <wsse:Password>yourpassword</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> |
this way you can execute request requiring this header.