You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2006/06/07 08:26:32 UTC
[jira] Commented: (AXIS2-804) WSDL2Java fails while generating
skeleton
[ http://issues.apache.org/jira/browse/AXIS2-804?page=comments#action_12415089 ]
Deepal Jayasinghe commented on AXIS2-804:
-----------------------------------------
any possibility of attaching wsdl file
> WSDL2Java fails while generating skeleton
> -----------------------------------------
>
> Key: AXIS2-804
> URL: http://issues.apache.org/jira/browse/AXIS2-804
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: Tools
> Versions: 1.0
> Reporter: Olexandr Zakordonskyy
> Priority: Blocker
>
> Command: WSDL2Java.bat -uri security.wsdl -s -ss -g -sd
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
> : org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeExcept
> ion: WSDL writing failed!
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.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.Runt
> imeException: WSDL writing failed!
> at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:640)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> ationEngine.java:168)
> ... 2 more
> Caused by: java.lang.RuntimeException: WSDL writing failed!
> at org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> java:45)
> at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.writeWSDLFiles(AxisServiceBasedMultiLanguageEmitter.java:737)
> at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeletonService(AxisServiceBasedMultiLanguageEmitter.java:703)
> at org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
> itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:638)
> ... 3 more
> Caused by: org.apache.axis2.AxisFault: null; nested exception is:
> java.lang.NullPointerException
> at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:558
> )
> at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:5
> 45)
> at org.apache.axis2.wsdl.codegen.writer.WSDLWriter.writeWSDL(WSDLWriter.
> java:40)
> ... 6 more
> Caused by: java.lang.NullPointerException
> at java.io.Writer.write(Writer.java:126)
> at com.ctc.wstx.sw.BaseNsStreamWriter.doWriteAttr(BaseNsStreamWriter.jav
> a:442)
> at com.ctc.wstx.sw.BaseNsStreamWriter.writeAttribute(BaseNsStreamWriter.
> java:205)
> at org.apache.axiom.om.impl.MTOMXMLStreamWriter.writeAttribute(MTOMXMLSt
> reamWriter.java:138)
> at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttribute(OMS
> erializerUtil.java:76)
> at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeAttributes(OM
> SerializerUtil.java:266)
> at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeStartpart(OMS
> erializerUtil.java:232)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:765)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:769)
> at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMEleme
> ntImpl.java:754)
> at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:31
> 0)
> at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:35
> 1)
> at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:554
> )
> ... 8 more
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org