ylliX - Online Advertising Network

Quick tip: How to add WSSE Security headers in SoapUI?

Since this information is not easy to find, I want to share it with you. Valid WSSE security header should look like this:

<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.

Leave a Reply