[ http://issues.apache.org/jira/browse/AXIS2-804?page=all ]
Deepal Jayasinghe resolved AXIS2-804:
-------------------------------------
Resolution: Fixed
I checked in current code base and found that it is not required to have
soap:address in side wsdl:port
I think someone has fixed the issue :)
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]