axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <atma...@gmail.com>
Subject Re: [axis2] - wsdl2java - exception
Date Fri, 23 Jun 2006 19:25:44 GMT
Please post the WSDL.

On 6/23/06, Gmail <phoenix.boro@gmail.com> wrote:
>
> I'm new to axis2. I have wsdl from which in axis 1.* I have succesfully
> generated java code, but in axis2 I got following exception:
>
>
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> 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: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> java.lang.NullPointerException
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub
> (AxisServiceBasedMultiLanguageEmitter.java:171)
>
>    at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(
> CodeGenerationEngine.java:176)
>
>    ... 2 more
> Caused by: java.lang.NullPointerException
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultParamElements
> (AxisServiceBasedMultiLanguageEmitter.java:1511)
>
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.getFaultElement
> (AxisServiceBasedMultiLanguageEmitter.java:1449)
>
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.loadOperations
> (AxisServiceBasedMultiLanguageEmitter.java:1199)
>
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.createDOMDocumentForCallbackHandler
> (AxisServiceBasedMultiLanguageEmitter.java:572)
>
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.writeCallBackHandlers
> (AxisServiceBasedMultiLanguageEmitter.java:551)
>
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStubFromService
> (AxisServiceBasedMultiLanguageEmitter.java:266)
>
>    at
>
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitStub
> (AxisServiceBasedMultiLanguageEmitter.java:169)
>
>    ... 3 more
>
> linux:     i686
> java:     sun-jdk1.5.0_06
> axis:      2
>
> I typed command :
> sh WSDL2Java.sh -uri xxx.wsdl -ss -sd -d xmlbeans -o xxx
>
> Is there any problem with wsdl types, namespaces in axis2 or something
> else please help me.
>
> best regards
> Borowski Filip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

Mime
View raw message