Below is a WSDL that can be used to generate Java classes with Wsdl2java with Axis 1.3 successfully, but fails using AXIS2 1.2RC1. http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl With errors like the following: java:491) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:462) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:594) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:451) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:16 50) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler .java:1615) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi ler.java:929) at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaT ... Carlos
_____ From: Carlos S. Zamudio [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 4:59 PM To: axis-user@ws.apache.org Subject: RE: [AXIS2] Transport error: 411 Error: Length Required 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: axis-user@ws.apache.org 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