You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2005/09/05 13:58:33 UTC

[jira] Created: (AXIS2-202) WSDL2Java gives an error if -o paramater is missing

WSDL2Java gives an error if -o paramater is missing
---------------------------------------------------

         Key: AXIS2-202
         URL: http://issues.apache.org/jira/browse/AXIS2-202
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: wsdl  
    Versions: 0.91    
 Environment: Windows XP
    Reporter: Samisa Abeysinghe


If I run the tool witout -o it gives me the following error:

E:\wsdls>java org.apache.axis2.wsdl.WSDL2Java -uri InteropTest.wsdl
Exception in thread "main" java.lang.RuntimeException: Cannot codegenerate! WSDL file is missing!
        at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>(CodeGenConfiguration.java:81)
        at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>(CodeGenConfiguration.java:71)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:56)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:29)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:23)

But if I run 

java org.apache.axis2.wsdl.WSDL2Java -o test -uri InteropTest.wsdl it runs

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-202) WSDL2Java gives an error if -o paramater is missing

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-202?page=all ]
     
Ajith Harshana Ranabahu resolved AXIS2-202:
-------------------------------------------

    Resolution: Fixed

Done. The current working directory is taken as the directory of output if -o is ommited

> WSDL2Java gives an error if -o paramater is missing
> ---------------------------------------------------
>
>          Key: AXIS2-202
>          URL: http://issues.apache.org/jira/browse/AXIS2-202
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Versions: 0.91
>  Environment: Windows XP
>     Reporter: Samisa Abeysinghe

>
> If I run the tool witout -o it gives me the following error:
> E:\wsdls>java org.apache.axis2.wsdl.WSDL2Java -uri InteropTest.wsdl
> Exception in thread "main" java.lang.RuntimeException: Cannot codegenerate! WSDL file is missing!
>         at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>(CodeGenConfiguration.java:81)
>         at org.apache.axis2.wsdl.codegen.CodeGenConfiguration.<init>(CodeGenConfiguration.java:71)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:56)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:29)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:23)
> But if I run 
> java org.apache.axis2.wsdl.WSDL2Java -o test -uri InteropTest.wsdl it runs

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira