Skip to Content
0

Missing Security Token in WebService

Jan 27, 2017 at 01:07 PM

47

avatar image

Hi All,

When we test from transaction SE80, the webservice works perfectly giving the desired response.

But, when we test using SOAPUI, we are getting an error which says "Missing Security Token". After searching, we found this piece of code given below:

<soapenv:Header xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken wsu:Id="Example-1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:Username>abap</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wssusername-token-profile-1.0#PasswordText">init@pass12</wsse:Password>
<wsu:Created>abap</wsu:Created>
</wsse:UsernameToken>
</soapenv:Header>

But after adding this code, still it gives the same error of "Missing Security token" and error while parsing the body.

Need assistance at the earliest.

Thanks and Regards,

Saurabh Jog

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers