bharat_sethi
13 years agoOccasional Contributor
Adding Custom header with wsse security tags
Hi,
I have a web service which expect security credential in header tag, but not getting how to add this header information via test complete GeneralEvents_OnWebServiceRequest
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://xyz.xsc">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://Xyz.xsd">
<wsse:Username>Username</wsse:Username>
<wsse:Password Type="http://xyz-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
<wsse:Nonce EncodingType="http://XYZ-wss-soap-message-security-1.0#Base64Binary">XYZ</wsse:Nonce>
</wsse:UsernameToken>
</wsse:Security>
Please advise how should I add this security information in my request via Test Complete.
Thanks
I have a web service which expect security credential in header tag, but not getting how to add this header information via test complete GeneralEvents_OnWebServiceRequest
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://xyz.xsc">
<wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://Xyz.xsd">
<wsse:Username>Username</wsse:Username>
<wsse:Password Type="http://xyz-wss-username-token-profile-1.0#PasswordText">Password</wsse:Password>
<wsse:Nonce EncodingType="http://XYZ-wss-soap-message-security-1.0#Base64Binary">XYZ</wsse:Nonce>
</wsse:UsernameToken>
</wsse:Security>
Please advise how should I add this security information in my request via Test Complete.
Thanks