I've tried to build the wsn-producer example from scratch and ran into
the following issue with the wsdl2java tool from muse v2.1
*** wsdl2java runtime ***
..\wsn-producer\wsdl>d:\muse-2.1.0-bin\
bin\wsdl2java.bat -axis2 -wsdl WsResource.wsdl
java.lang.RuntimeException: java.lang.NullPointerException
at
org.apache.muse.tools.inspector.ResourceInspector.run(ResourceInspector.
java:836)
at
org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.inspect(
SimpleAnalyzer.java:392)
at
org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.analyze(
SimpleAnalyzer.java:338)
at
org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:143)
at
org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:260)
Caused by: java.lang.NullPointerException
at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at
org.apache.muse.tools.inspector.ResourceInspector.run(ResourceInspect
or.java:831)
... 4 more
SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception
information below.
An exception was caught: java.lang.NullPointerException
Notes:
My muse dir is at d:\muse-2.1.0-bin\
I've added both Axis2 v1.1 and Muse v2.1 to my path
The wsdl2java from muse v2.0 has no issues with producing the
code-framework with Axis2 v1.0 (apart from the missing
SubscriptionManager and so on).
I hope you can help me track down the problem.
/Lenni
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]