axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "José Antonio Sánchez" <getace...@gmail.com>
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/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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message