axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "José Antonio Sánchez" <>
Subject Not able to generate code
Date Fri, 09 Mar 2007 15:32:16 GMT
Hello. I'm using Axis2 1.1 to generate code for a service. I use the
following command:

/opt/axis2-1.1/bin/ -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-
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.

José Antonio Sánchez

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message