Need secure header code in java
I need to access the secure webservice. I need to pass the secure header
in the soap request.Please help me to provide the custom secure header
code in java.
Requirement:
<soapenv:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
<wsse:UsernameToken
xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
<wsse:Username>XYZ</wsse:Username>
<wsse:Password Type="wsse:PasswordText">security</wsse:Password>
</wsse:UsernameToken>
i Appreciate if any one help me on this.`
No comments:
Post a Comment