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

Igor JStarter do-not-reply at jboss.com
Tue Jan 25 03:08:55 EST 2011


Igor JStarter [http://community.jboss.org/people/izgur] created the discussion

"Re: Policy not supported for UsernameTokenOverHTTPS error."

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

--------------------------------------------------------------
You wrote:
> or ignore the policies (make your client consume a modified wsdl without the policies) and configure ws-security as you want.


Could you explain ? 

ignore policies :   i did delete any policy tags from the wsdl... then i get :
08:54:05,917 ERROR[DispatchImpl] Cannot dispatch message
java.io.IOException: Could not transmit message
        at org.jboss.ws.core.client.transport.NettyClient.invokeInternal(NettyClient.java:225)
        atorg.jboss.ws.core.client.transport.NettyClient.invoke(NettyClient.java:119)
        atorg.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:150)
        atorg.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:69)
        atorg.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternalSOAP(DispatchImpl.java:247)...
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [415] -Cannot process the message because the content type 'text/xml; charset=UTF-8'was not the expected type 'application/soap+xml; charset=utf-8'.
--------------------------------------------------------------

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

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/20110125/8adc64f0/attachment.html 


More information about the jboss-user mailing list