I found the problem in another posting.  To get around this Transport error
I did as suggested and changed the property CHUNKED to false.
s._getServiceClient().getOptions().setProperty(HTTPConstants.CHUNKED,
false);

where s is an instance of the ServiceStub.

Carlos


  _____  

From: Carlos S. Zamudio [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 29, 2007 4:35 PM
To: [email protected]
Subject: [AXIS2] Transport error: 411 Error: Length Required


Has anyone seen this type of error coming from AXIS2 and know what it might
indicate? I'm getting this from a test case using a WSDL2Java code
generation.  I noticed an old thread referencing this condition, but the
message was not explanatory.  Thanks.
 
 
org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required;
nested exception is: 
 org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required

Reply via email to