[ http://issues.apache.org/jira/browse/AXIS2-1011?page=comments#action_12427924 ] Davanum Srinivas commented on AXIS2-1011: -----------------------------------------
Hmm, we need to throw an error that we don't support rpc/encoded. -- dims > WSDL2Java addMissingQNames Nullpointer (RE: axis2-906) > ------------------------------------------------------ > > Key: AXIS2-1011 > URL: http://issues.apache.org/jira/browse/AXIS2-1011 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: Tools > Environment: all > Reporter: Bob Stevenson > Attachments: validate.wsdl > > > Using the latest code from SVN; I'm getting the following while trying to > generate java from a WSDL. > [java] at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:734) > [java] at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:586) > [java] at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:436) > [java] at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1289) > [java] at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1252) > [java] at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:807) > [java] at > org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:7 > [java] at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:736) > [java] at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:475) > [java] at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:446) > [java] at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:308) > [java] at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:230) > [java] at > org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:77) > [java] ... 8 more > [java] Caused by: java.lang.NullPointerException > [java] at > org.apache.axis2.schema.writer.JavaBeanWriter.addMissingQNames(JavaBeanWriter.java:728) > [java] at > org.apache.axis2.schema.writer.JavaBeanWriter.addPropertyEntries(JavaBeanWriter.java:555) > [java] at > org.apache.axis2.schema.writer.JavaBeanWriter.populateInfo(JavaBeanWriter.java:519) > [java] at > org.apache.axis2.schema.writer.JavaBeanWriter.getBeanElement(JavaBeanWriter.java:497) > [java] at > org.apache.axis2.schema.writer.JavaBeanWriter.process(JavaBeanWriter.java:384) > [java] at > org.apache.axis2.schema.writer.JavaBeanWriter.write(JavaBeanWriter.java:213) > [java] ... 44 more > [java] Exception in thread "main" > [java] Java Result: 1 -- 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]