axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Re: Not able to generate code
Date Sat, 10 Mar 2007 03:16:44 GMT
For some reason I've had problems getting to work on my
machine (using Ubuntu Linux) as well.  What I did instead is use the
underlying command that consists of:

./ org.apache.axis2.wsdl.WSDL2Java {rest of parameters}

and had more success with it.

A better long-term solution IMHO though is to just use Apache Ant[1] and
keep all the parameters you used in a build file, so there's nothing to
forget a few weeks/months down the road when you need to run this again.



Am Freitag, den 09.03.2007, 16:32 +0100 schrieb José Antonio Sánchez:
> 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.

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

View raw message