You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by "Merrall, Simon" <s....@telekom.de> on 2009/01/06 15:43:21 UTC

RE: Wsdl2java problem: Sorry

Ahem.

   Wasn't using the JVM I thought - was expecting JAVA_HOME to take
precedence over any java in the PATH.

   Sorry about that.

   Simon

 


-----Original Message-----
From: Merrall, Simon 
Sent: Tuesday, January 06, 2009 1:37 PM
To: muse-user@ws.apache.org
Subject: Wsdl2java problem: 

Hi,

   I'm having (a seemingly stupid) problem generating code from the
samples.
For the command:

   /home/.../muse-2.2.0-bin/bin/wsdl2java.sh -j2ee axis2 -wsdl
sample-wsn-producer.wsdl

   I get exceptions like:

   ... The specified file does not exist
"/work/cm/tryit.muse/sample-wsn-producer.wsdlWS-Addressing-2005_08.xsd
does not exist.

   Well, the message is correct ... But clearly it should not be trying
to find "sample-wsn-producer.wsdlWS-Addressing-2005_08.xsd".

   I'd hoped it was just because the XSDs weren't in the same directory
(as explained here
http://mail-archives.apache.org/mod_mbox/ws-muse-user/200611.mbox/%3CF73
CB8E31BDB1E42AFAA727635416E3402B56091@xmb-sjc-22c.amer.cisco.com%3E
) ... No luck.

   If I rename WS-Addressing-2005_08.xsd to
sample-wsn-producer.wsdlWS-Addressing-2005_08.xsd then it does proceed.

   Using Muse 2.2.0, with Java 1.5.0_12 (on Ubuntu 8.04)

   Any help, gratefully received.

   Simon Merrall