Hi,
I have a requirement to connect to target WS. We need to pass username and password (password digest). The target URL is same but we have 7 different password and based on some logic we need to use anyone of the password and call the service.
I can able to connect to the service by adding the security headers and the request from the business service.
But when invoking the business service from proxy how can i generate the soap headers with password digest, Nonce, Timestamp.
Below is the header i used in BS and it works fine.
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsu:Timestamp wsu:Id="Timestamp-13" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Created>2014-07-08T22:28:25.395Z</wsu:Created>
<wsu:Expires>2014-07-08T22:29:25.395Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken wsu:Id="UsernameToken-12" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>username</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">passworddigesy</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">nonce</wsse:Nonce>
<wsu:Created>2014-07-08T21:23:08.455Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
Since the password is different do we need to use multiple business service or can use only one ?
Please provide your input.
Regards