Hi kumar; Can you please send me your wsdl file, or please create a JIRA issue attaching your wsdl
Thanks Deepal > Hi *, > > I am new bie to Webservice and Axis2. > > Just started getting hold of Axis 2. > > I am facing problem when I try to generate source code from WSDL file > usind WSDL2Java tool. > > When I have Message tag with one part tag then it is working fine. I > am able to generate source code. > > Eg, > > <wsdl:message name="ScheduleConferenceInput"> > > <wsdl:part element="xsd1:ConferenceBookingDetails" name="a"/> > > </wsdl:message> > > > But when the Message tag has got two part tag then I m geeting some > errors. Unable to generate source code. > > Eg, > > <wsdl:message name="ScheduleConferenceInput"> > > <wsdl:part element="xsd1:ConferenceBookingDetails" name="a"/> > > <wsdl:part element="xsd1:ListOfParticipant" name="b"/> > > </wsdl:message> > > > > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeException: org.apache.axis2.s > chema.SchemaCompilationException: java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: java.lang.RuntimeException: > org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPointerException > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:117) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140) > ... 2 more > Caused by: org.apache.axis2.schema.SchemaCompilationException: > java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:186) > at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:70) > ... 3 more > Caused by: java.lang.NullPointerException > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:360) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:410) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:334) > at > org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:915) > at > org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:878) > at > org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:643) > at > org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:616) > at > org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:577) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:366) > at > org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:344) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:226) > at > org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:181) > ... 4 more > > > > I am not sure about this behaviour. Am I missing something. > > Your help is very much appreciated.Thanks in advance. > > > > > > > _________________________________________________ > Thanks & Regards, > Vinodh > > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > addressee(s) and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately and destroy all copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of > viruses. The company accepts no liability for any damage caused by any > virus transmitted by this email. > > www.wipro.com > -- Thanks, Deepal ................................................................ "The highest tower is built one brick at a time" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
