gjedwards
16 years agoOccasional Contributor
Generating java code from WSDL
Dear SoapUi experts,
I'm new to SoaupUI. (I hate that newbie excuse, but whatever, better declare it ...) I'm on Mac OS X 6.5.2, Eclipse 3.0.1, SoapUI Eclipse plugin 3.0. Have created a Java project in Eclipse, loaded in a WSDL. The WSDL is good, it loads in standalone SoapUI and tests fine against a genuine target server.
I'm trying to generate Java code to run standalone, as a SOAP client. I go to "Generate code" in the SoapUI perspective and choose Axis 1.X Artifacts as the target. I ensure the output directory is set, and everything is as per the page "http://www.soapui.org/eclipse/soapui_nature.html". I hit button Generate, but get a message "must specify Axis location in Global Preferences".
From here on I'm stuck. I've tried specifying numerous locations, in the Mac environment above and a Win XP environment with the same install. I've added a pile of "lib" and ".../xxx-lib/yyy.jar" locations, including axis.jar and axis-ant.jar, to my CLASSPATH, in Mac and Win XP.
Can you advise how to get the Java code generation to complete ?
Thanks,
Greg E
I'm new to SoaupUI. (I hate that newbie excuse, but whatever, better declare it ...) I'm on Mac OS X 6.5.2, Eclipse 3.0.1, SoapUI Eclipse plugin 3.0. Have created a Java project in Eclipse, loaded in a WSDL. The WSDL is good, it loads in standalone SoapUI and tests fine against a genuine target server.
I'm trying to generate Java code to run standalone, as a SOAP client. I go to "Generate code" in the SoapUI perspective and choose Axis 1.X Artifacts as the target. I ensure the output directory is set, and everything is as per the page "http://www.soapui.org/eclipse/soapui_nature.html". I hit button Generate, but get a message "must specify Axis location in Global Preferences".
From here on I'm stuck. I've tried specifying numerous locations, in the Mac environment above and a Win XP environment with the same install. I've added a pile of "lib" and ".../xxx-lib/yyy.jar" locations, including axis.jar and axis-ant.jar, to my CLASSPATH, in Mac and Win XP.
Can you advise how to get the Java code generation to complete ?
Thanks,
Greg E