You're right. It's throwing the exception inside of the wsdl code when it 
tries to load an import. What does the directory look like where you have 
the wsdl that you're trying to convert?

Thanks,
Andrew

Andrew Eberbach
Autonomic Computing
(919) 254-2645
T/L: 444-2645
[EMAIL PROTECTED]



"Callner, David A." <[EMAIL PROTECTED]> 
02/09/2007 02:33 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
RE: wsdl2Java






Permissions are not a problem.  I'm executing the script just fine.
It's the NullPointerException below that's causing me problems because
I can't generate any code.

-----Original Message-----
From: Andrew Eberbach [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 09, 2007 2:30 PM
To: [email protected]
Subject: RE: wsdl2Java

And which operating system are you on? Did you try just doing a chmod
+x 
wsdl2java.sh and running that.

Thanks,
Andrew

Andrew Eberbach
Autonomic Computing
(919) 254-2645
T/L: 444-2645
[EMAIL PROTECTED]



"Callner, David A." <[EMAIL PROTECTED]> 
02/09/2007 02:19 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
RE: wsdl2Java






Muse.2.1.0 

-----Original Message-----
From: Andrew Eberbach [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 09, 2007 2:17 PM
To: [email protected]
Subject: Re: wsdl2Java

Hi,

Which build are you using?

Thanks,
Andrew

Andrew Eberbach
Autonomic Computing
(919) 254-2645
T/L: 444-2645
[EMAIL PROTECTED]



"Callner, David A." <[EMAIL PROTECTED]> 
02/09/2007 02:05 PM
Please respond to
[email protected]


To
<[email protected]>
cc

Subject
wsdl2Java






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
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to