WSS-PAssword Type

Is there a way to set the WSS-Password Type within Postman? Specifically I’m looking to set this to “PasswordText”

I’ve searched around but have been unable to find any information regarding this.

If an authentication method is not supported within Postman, you can generate and set this using Postman pre-requests.

I’m dealing with the same problem.

It’s hard to find an example of how WSS-Password works. I tried to define new headers in XML and in the requisition headers, but both fail. I’m frustrated with this.

Hey. I found a solution, just put this on request body

<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>
            <wsse:Username>XXXXX</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password>
        </wsse:UsernameToken>
    </wsse:Security>
</soapenv:Header>
3 Likes

Thanks. This worked like a charm for me.

This works, thanks for the help, however there is a problem in postman when password contains certain special characters, postman returns invalid request.
I spent good two hours until I only changed the account’s password to remove both *, & only then the request worked!

Thanks buddy, this is works fine