I'm working on Linux.
I start the tool in a tcsh with the command:
> $AXIS2_HOME/bin/wsdl2java.sh -uri ...
Hope this helps.
Stephan Roy
Alcatel-Lucent
Amila Suriarachchi wrote:
What is the OS you use? Could you try --> sh wsdl2java.sh
On 5/9/07, *Stephane Roy* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
The solution I found, is simply to apply the following modifications
(already mentioned by Hans-Ulrich Klein) in the axis2.sh file:
line 38 and 43, add double quote on the parameters:
38: if [ "$arg" != -classpath ] && [ "$arg" != -cp ] && [ "$prearg" !=
-classpath ] && [ "$prearg" != -cp ]
43: if [ "$prearg"=-classpath ] || [ "$prearg"=-cp ]
Then the command wsdl2java.sh works fine.
Stephan Roy
Alcatel-Lucent
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Amila Suriarachchi,
WSO2 Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]