Hans-Ulrich Klein wrote:
>
> I wrote a wsdl 2.0 file and tried to generate skeletons with
> wsdl2java.sh (axis2-1.2). After some unsuccessful attempts I used the
> wsdl-file given in the w3c wsdl-primer (example 2-1):
> http://www.w3.org/TR/2007/WD-wsdl20-primer-20070326/#basics-greath-scenario
> (I attached the wsdl-file at the end of this mail.)
>
>
> The first weird error appeared in the axis2.sh:
>
> $ /opt/axis2-1.2/bin/wsdl2java.sh -uri myTest.wsdl -o . -s -d xmlbeans
> -wv 2 -ss -sd
> Using AXIS2_HOME: /opt/axis2-1.2
> Using JAVA_HOME: /usr/lib/jvm/java-6-sun
> /opt/axis2-1.2/bin/axis2.sh: line 38: [: !=: unary operator expected
> Unrecognized option: -uri
> Could not create the Java virtual machine.
>
I am receiving an identical error. Just doing wsdl2java.sh -uri will
generate the problem described above. (I'm trying it with just wsdl2java.sh
-uri pathToMyWsdl and getting the same error.)
Is there a fix for this? Thanks.
--
View this message in context:
http://www.nabble.com/-axis2--error-generating-skeletons-from-WSDL-2.0-tf3677500.html#a10308784
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]