wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 agree. Here's the link: http://aspose.com/file-tools
 
subject: org.apache.axis2.AxisFault: Transport error: 411 Error: Invalid Request
 
Similar Threads
[Axis2]Transport error: 411 Error: Length Required
Web services in HTTPS. org.apache.axis2.AxisFault: Read timed out
javax.xml.ws.WebServiceException: org.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden
axis2 ntlm authentication - No credentials available for NTLM
ERROR in WebService AXIS2