axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ivano luberti (JIRA)" <>
Subject [jira] Created: (AXIS2-4546) wsdl2java.bat fails on a wsdl file that Axis2 1.4 is able to handle
Date Fri, 06 Nov 2009 18:28:32 GMT
wsdl2java.bat fails on a wsdl file that Axis2 1.4 is able to handle

                 Key: AXIS2-4546
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5.1
         Environment: Windows
            Reporter: ivano luberti

When I run wsdl2java.bat against the Attached WSDL file , it fails with the following exception.
The wsdl2java.bat released under Axis2 1.4 handle it correclty.

Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
        at org.apache.axis2.wsdl.WSDL2Code.main(
        at org.apache.axis2.wsdl.WSDL2Java.main(
Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unabl
e to resolve imported document at 'VCSWebService.wsdl'.:
eption: This file was not found: file:/C:/Program Files/axis2-1.5.1/bin/VCSWebSe
        at Source)
        at Source)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
        ... 2 more
Caused by: This file was not found: file:/C:/Prog
ram Files/axis2-1.5.1/bin/VCSWebService.wsdl
        at Source)

        ... 6 more

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message