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

Reply via email to