Thanks Bille, But it's still giving the same error. Did you test the wsdl you sent me?
bruno On 7/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi, I turned your WSDL in a valid one; see attached. You had to qualify your simple types in the type section with the prefix xsd. Also your port in the service section referenced an invalid binding. HTH Bille > -----Ursprüngliche Nachricht----- > Von: [email protected] > Gesendet: 08.07.06 18:19:59 > An: [email protected] > Betreff: WSDL2Java in Axis2 is not working? > Hi Guys, > > I'm a newbie and I'm trying to generate java code for the example wsdl > attached to this email. I'm using the wsdl2java from the > axis2-std-SNAPSHOT-bin.zip package. > After execution I receive the following errors: > > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing > WSDL > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:123) > 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: null; nested exception is: > java.lang.NullPointerException > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:210) > at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:114) > ... 2 more > Caused by: java.lang.NullPointerException > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processPortType(WSDL11ToAxisServiceBuilder.java:392) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(WSDL11ToAxisServiceBuilder.java:310) > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:205) > ... 3 more > > > Is this a bug in wsdl2java > > Thank you, > bruno. > > <hr> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________________________________________ Mit WEB.DE iNews werden Sie über die Ergebnisse der wichtigsten WM-Begegnungen per SMS informiert: http://freemail.web.de/features/inews.htm/?mc=021202 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
