Hello. I'm using Axis2 1.1 to generate code for a service. I use the
following command:

/opt/axis2-1.1/bin/wsdl2java.sh -uri ./wsdl/wsctx.wsdl -ss -g -sn
PriorService -o ./PriorService

But got the following output:

Using AXIS2_HOME:   /opt/axis2-1.1
Using JAVA_HOME:       /usr/lib/jvm/java-1.5.0-sun-1.5.0.08
Unrecognized option: -uri
Could not create the Java virtual machine.

What's the problem? The shown paths are ok but it complains that uri
is not a valid option while in the documentation says:

WSDL2Code -uri <Location of WSDL>

and also in the tutorial, the first example is:

%AXIS2_HOME%\bin\wsdl2java -uri Axis2UserGuide.wsdl -p
org.apache.axis2.axis2userguide -d adb -s

So -uri option must be understood by Axis.

--
Saludos.
José Antonio Sánchez

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to