I'm just trying to run the wsdl2java tool to see if it works but I get
this exception. I am just trying to create the wsn-producer from it's
wsdl.
> sh wsdl2java.sh -axis2 -wsdl /mypath/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(SimpleA
nalyzer.java:392)
at
org.apache.muse.tools.generator.analyzer.SimpleAnalyzer.analyze(SimpleA
nalyzer.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(ResourceInspector
.java:831)
... 4 more
SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the
exception information below.
An exception was caught: java.lang.NullPointerException
Anyone seen this before?
Hopefully,
David Callner
Senior Software Systems Engineer
The MITRE Corporation
Center for Advanced Aviation System Development
7515 Colshire Dr.
McLean, VA. 22102
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
703.983.6431 (work)
"This American system of ours . . . call it capitalism, call it what
you like, gives to each and every one of us a great opportunity if we
only seize it with both hands and make the most of it." Al Capone