This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request
 
jQuery in Action, 3rd edition