Reputation: 11
I'm consuming web service using JAX-WS on IBM Websphere application server 7. Setting WS message level security while passing the SOAP Message. UsernameToken xmlns:wsu is not passed correctly to provider end. Is there any configuration need on WebSphere server?
SOAP Message printed in my app log,
wsse:UsernameToken wsu:Id="XXXX" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
Web Service Provider received SOAP Message,
wsse:UsernameToken wsu:Id="XXXX" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
Don't know how SOAP message WS Security header is overridden.
Upvotes: 0
Views: 586
Reputation: 11
I found issue and resolved. Namespace of WSSE & WSU should apply correctly. WSSE = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" WSU = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
Upvotes: 0