Skip to Content
1
Apr 16, 2014 at 09:49 AM

WS-Security Username Token issue with soap receiver

851 Views

Hi All,

I have Proxy to SOAP scenario. Receiver web service is expecting below message in the soap header for authentication purpose.


<soapenv:Header>

<wsse:Security>

<wsse:UsernameToken>

<wsse:Username>username</wsse:Username>

<wsse:Password Type="PasswordText">Password< wsse:Password>

</wsse:UsernameToken>

</wsse:Security>

</soapenv:Header>

User will trigger the message from ECC using some transaction. I need to pass this triggering person’s username and password to soap header dynamically. There are more than 2000 users in the system.

How can I retrieve this username and password and bind it to <wsse:Security> node?

Is it possible to achieve?

Please note: User’s details will not come in the message payload. I cannot user look up here.

Regards,

Muni