aspose file tools*
The moose likes Web Services and the fly likes  org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark " org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request" Watch " org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request" New topic
Author

org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request

Stu Johns
Ranch Hand

Joined: Aug 11, 2008
Posts: 63
Hi,

I have generated client code from a WSDL file using wsdl2java in Axis 1.4 when i wrote a class to use it I get a stack trace when trying to connect to it.
Anyone have any ideas what is going wrong?

thanks.

org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
Amit ChaudhariC
Ranch Hand

Joined: Aug 06, 2009
Posts: 33
Can you please tell us what you are trying to do along with the code sample and some more details so that the issue can be looked upon.

Regards,
Amit
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request