# WSS-PAssword Type

**URL:** <https://community.postman.com/t/wss-password-type/1291>\
**Category:** Help Hub\
**Created:** [March 22, 2018, 1:34pm UTC](https://community.postman.com/t/wss-password-type/1291 "2018-03-22T13:34:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![end3rx](https://avatars.discourse-cdn.com/v4/letter/e/85f322/32.png) [@end3rx](https://community.postman.com/u/end3rx)\
**Post date:** [March 22, 2018, 1:34pm UTC](https://community.postman.com/t/wss-password-type/1291/1 "2018-03-22T13:34:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![abhinav](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/abhinav/32/8_2.png) [@abhinav](https://community.postman.com/u/abhinav)\
**Post date:** [April 30, 2018, 7:46pm UTC](https://community.postman.com/t/wss-password-type/1291/2 "2018-04-30T19:46:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![carpajr](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/carpajr/32/602_2.png) [@carpajr](https://community.postman.com/u/carpajr)\
**Post date:** [May 12, 2018, 1:36am UTC](https://community.postman.com/t/wss-password-type/1291/3 "2018-05-12T01:36:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Saanxt](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/saanxt/32/1275_2.png) [@Saanxt](https://community.postman.com/u/Saanxt)\
**Post date:** [January 29, 2019, 4:46pm UTC](https://community.postman.com/t/wss-password-type/1291/5 "2019-01-29T16:46:28Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![KristerH](https://avatars.discourse-cdn.com/v4/letter/k/bbce88/32.png) [@KristerH](https://community.postman.com/u/KristerH)\
**Post date:** [September 7, 2020, 9:50am UTC](https://community.postman.com/t/wss-password-type/1291/6 "2020-09-07T09:50:35Z")

</div>

Thanks. This worked like a charm for me.

---

<div class="post-metadata">

**Author:** ![silvia.gendy](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@silvia.gendy](https://community.postman.com/u/silvia.gendy)\
**Post date:** [February 24, 2021, 8:12pm UTC](https://community.postman.com/t/wss-password-type/1291/7 "2021-02-24T20:12:02Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![mcifci](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@mcifci](https://community.postman.com/u/mcifci)\
**Post date:** [October 11, 2021, 9:59pm UTC](https://community.postman.com/t/wss-password-type/1291/8 "2021-10-11T21:59:50Z")

</div>

Thanks buddy, this is works fine
