[jboss-user] [JBoss Web Services] - Re: Policy not supported for UsernameTokenOverHTTPS error.

Alessio Soldano do-not-reply at jboss.com
Mon Jan 24 04:31:20 EST 2011


Alessio Soldano [http://community.jboss.org/people/alessio.soldano%40jboss.com] created the discussion

"Re: Policy not supported for UsernameTokenOverHTTPS error."

To view the discussion, visit: http://community.jboss.org/message/582694#582694

--------------------------------------------------------------
JBossWS-Native does not support WS-SecurityPolicy. Hence you can't expect it automatically consume and understand WS-Security Policy assertions. You need to move to JBossWS-CXF stack for that, or ignore the policies (make your client consume a modified wsdl without the policies) and configure ws-security as you want.

Setting the com.sun.xml.ws.spi.ProviderImpl provider is basically equivalent to directing your client on using the JAXWS RI (iow Metro); that's not necessarily evil, just be aware of that.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/582694#582694]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110124/82a0de95/attachment.html 


More information about the jboss-user mailing list