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&...]