jax ws - IBM Websphere application server 7 JAX-WS client WSSE UsernameToken -


i'm consuming web service using jax-ws on ibm websphere application server 7. setting ws message level security while passing soap message. usernametoken xmlns:wsu not passed correctly provider end. there configuration need on websphere server?

soap message printed in 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 overridden.

i found issue , 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"


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -