axis-java-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/AXIS2-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ivano luberti updated AXIS2-4546:
---------------------------------

    Attachment: bin.zip

> wsdl2java.bat fails on a wsdl file that Axis2 1.4 is able to handle
> -------------------------------------------------------------------
>
>                 Key: AXIS2-4546
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4546
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.5.1
>         Environment: Windows
>            Reporter: ivano luberti
>         Attachments: bin.zip
>
>
> 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
> ionEngine.java:156)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unabl
> e to resolve imported document at 'VCSWebService.wsdl'.: java.io.FileNotFoundExc
> eption: This file was not found: file:/C:/Program Files/axis2-1.5.1/bin/VCSWebSe
> rvice.wsdl
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(
> CodeGenerationEngine.java:288)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
> ionEngine.java:111)
>         ... 2 more
> Caused by: java.io.FileNotFoundException: This file was not found: file:/C:/Prog
> ram Files/axis2-1.5.1/bin/VCSWebService.wsdl
>         at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
>         ... 6 more

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


Mime
View raw message