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: [email protected] 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 [email protected]%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
