JBoss Community

Re: Policy not supported for UsernameTokenOverHTTPS error.

created by Igor JStarter in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community