I was able to step through the muse code in a debugger, and I think I found the 
problem.  Muse crashes with a NullPointerException when you do not have a 
wsdl:types element in your wsdl.  
Putting  <wsdl:types /> in my .wsdl fixed it.

I entered a bug about it.

Hans

-----Original Message-----
From: Hans Loeblich [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2008 7:31 AM
To: [email protected]
Subject: FailedLoadingWSDL error when attempting to run wsdl2java

Hello,
I am trying to run wsdl2java script, but I'm getting an error message that is 
not very helpful.

Running the following command:
    ../bin/wsdl2java.sh -j2ee axis2 -wsdl wsn.wsdl

Yields the following output:
    [: 38: cygwin: unexpected operator

    SEVERE: [ID = 'FailedLoadingWSDL'] Got exception loading WSDL: .

    An exception was caught: [ID = 'FailedLoadingWSDL'] Got exception loading 
WSDL: .


The line about cygwin seems particularly strange to me, since I am running this 
on a Linux box.

I tried running this on the sample wsdl given in the muse online tutorial, and 
it completes successfully, no errors except for the strange cygwin line.
But when using my own wsdl, I get this error.  I wouldn't be surprised if 
there's something wrong with my wsdl, but I can't tell which part of it muse 
doesn't like.

Using muse 2.2.0 on Ubuntu Linux

Any help would be appreciated.

Thanks,
Hans Loeblich


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

Reply via email to