There are some schema support limitations with Axis2 code generation that have forced us to use the Axis 1.3 WSDL2JAVA tool against our Axis2 service. Your schema may not have the same issues, so the Axis2 WSDL2JAVA may be sufficient for your needs.
________________________________ From: Garth Keesler [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 3:55 PM To: [email protected] Subject: Re: WSDL2Java Question I use AXIS2 v1.1.1. Dumb Q but do I want Axis 1.* stubs? I've never gotten far enough with the tool to see what it produces. Thanx, Garth Ted Jones wrote: If you want Axis 1.* stubs, then AXIS_HOME should point to your Axis 1.* location (not Axis2). ________________________________ From: Gul Onural [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 3:38 PM To: [email protected] Subject: RE: WSDL2Java Question Most probably... What I have defined to get wsdl2Java working : AXIS2_HOME environment variable pointing to axis2 installation directory and %AXIS2_HOME%\bin in my PATH ________________________________ From: Garth Keesler [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 4:33 PM To: [email protected] Subject: Re: WSDL2Java Question Yes, both AXIS_HOME and JAVA_HOME point to their correct directories. However they are defined in /etc/profile and not in my local profile. Could that be it? Thanx Gul Onural wrote: Have you defined AXIS_HOME environment variable pointing to your axis2 installation ? ________________________________ From: Garth Keesler [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 10, 2007 4:23 PM To: Axis User Subject: WSDL2Java Question The examples below are straight from http://ws.apache.org/axis/java/reference.html#WSDL2JavaReference and neither obviously works (for me). I can't even get --help to work. [EMAIL PROTECTED]:~$ java org.apache.axis.wsdl.WSDL2Java --help Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java [EMAIL PROTECTED]:~$ java org.apache.axis.wsdl.WSDL2Java --help http://appsrv:8080/axis2/services/wsVendor Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java [EMAIL PROTECTED]:~$ java org.apache.axis.wsdl.WSDL2Java http://appsrv:8080/axis2/services/wsVendor?wsdl Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java Here's a snippet from the web site instructions: Usage: java org.apache.axis.wsdl.WSDL2Java [options] WSDL-URI Options: -h, --help print this message and exit What am I doing wrong? Thanx, Garth --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
