[jboss-user] [JBossWS] - Re: jax-ws soap protocol handler and white space.

mignaak do-not-reply at jboss.com
Fri Nov 7 09:01:01 EST 2008


I'm using jboss 4.2.3 + jbossws native 3.0.4 ga.

My application in a client to a web service.
Everything worked fine with jboss 4.2.2 and jbossws 2.0.3

After jbossws went to 2.0.4 nothing worked anymore.

The remote server always responds with a java.io.exception:

It seems something is wrong with how jboss connects to the remote service. Notice that the soap message produced by jbossws works fine if run through soapui.

Thanks.

Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Invalid HTTP server response [400] - POST/PUT Must Be Explicitly Terminated. Response: POST/PUT Must Be Explicitly Terminated/400.
	at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:348)
	at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:137)
	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
	at org.jboss.remoting.Client.invoke(Client.java:1634)
	at org.jboss.remoting.Client.invoke(Client.java:548)
	at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:242)
	... 131 more
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [400] - POST/PUT Must Be Explicitly Terminated
	at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:75)
	at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:518)
	at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:307)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187716#4187716

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187716



More information about the jboss-user mailing list