Error during code generation ---------------------------- Key: AXIS2-1294 URL: http://issues.apache.org/jira/browse/AXIS2-1294 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: wsdl Affects Versions: nightly Environment: Apache, Tomcat 5.5, Axis2 (nighly), self compiled XmlSchema from current SVN Reporter: Kai Huener Attachments: agreement_state_types.xsd, agreement_types.xsd, AgreementPortType.wsdl
Hello, when I try to generate Java code (WSDL2Java.bat of current nightly) of the attached WSDL, I get the following error message (something about "array out of bounce") Since there is no more information given by the message, I have no idea how to handle this. The attached schemas are referenced in the WSDL, but their compilation works fine with other WSDLs, so I think the problem is within the attached WSDL. Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:112) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: org.apache.axis2.AxisFault: 0; nested exception is: java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi ce(WSDL11ToAxisServiceBuilder.java:240) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:103) ... 2 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.AddQNameReference(WSDL11ToAxisServiceBuilder.java:745) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(WSDL11ToAxisServiceBuilder.java:513) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:234) ... 3 more Best regards, Kai -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]