[
https://issues.apache.org/jira/browse/AXIS2-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amila Chinthaka Suriarachchi resolved AXIS2-4546.
-------------------------------------------------
Resolution: Cannot Reproduce
I can not reproduce the issue with the axis2 trunk.
please check whether this is a problem with having while spaces in the path.
> 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: 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]