FailedLoadingWSDL error when attempting to run wsdl2java

View: New views
4 Messages — Rating Filter:   Alert me  

Parent Message unknown FailedLoadingWSDL error when attempting to run wsdl2java

by Hans Loeblich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


RE: FailedLoadingWSDL error when attempting to run wsdl2java

by Chris.Twiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Hans,

could you try loading the wsdl into eclipse wtp or some similar tool to verify both the xml itself and the wsdl.  I have found in the past that the wtp wsdl editor is quite handy for showing issues.

cheers,
Chris

-----Original Message-----
From: Hans Loeblich [mailto:hloeblich@...]
Sent: Friday, August 08, 2008 7:31 AM
To: muse-user@...
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: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


Re: FailedLoadingWSDL error when attempting to run wsdl2java

by Hans Loeblich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I use IntelliJ IDEA, so I'm not really familiar with Eclipse wtp.  I will try installing it and see how it goes.  Would you happen to know if there is something similar for IntelliJ, or some other standalone tool?

Thanks,
Hans


----- Original Message -----
From: "Chris Twiner" <Chris.Twiner@...>
To: muse-user@...
Sent: Friday, August 8, 2008 12:35:45 AM GMT -06:00 US/Canada Central
Subject: RE: FailedLoadingWSDL error when attempting to run wsdl2java

Hi Hans,

could you try loading the wsdl into eclipse wtp or some similar tool to verify both the xml itself and the wsdl.  I have found in the past that the wtp wsdl editor is quite handy for showing issues.

cheers,
Chris

-----Original Message-----
From: Hans Loeblich [mailto:hloeblich@...]
Sent: Friday, August 08, 2008 7:31 AM
To: muse-user@...
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: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...


Parent Message unknown Re: FailedLoadingWSDL error when attempting to run wsdl2java

by Hans Loeblich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:hloeblich@...]
Sent: Friday, August 08, 2008 7:31 AM
To: muse-user@...
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: muse-user-unsubscribe@...
For additional commands, e-mail: muse-user-help@...

LightInTheBox - Buy quality products at wholesale price!