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 "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/05 16:22:34 UTC
[jira] [Resolved] (AXIS2-4954)
http://axis.apache.org/axis2/java/core/docs/userguide-creatingclients.html#choosingclient
Fails With a File Fot Found.
[ https://issues.apache.org/jira/browse/AXIS2-4954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved AXIS2-4954.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Fixed in r1179238.
> http://axis.apache.org/axis2/java/core/docs/userguide-creatingclients.html#choosingclient Fails With a File Fot Found.
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-4954
> URL: https://issues.apache.org/jira/browse/AXIS2-4954
> Project: Axis2
> Issue Type: Bug
> Components: documentation
> Environment: ubuntu 10.10
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1)
> OpenJDK Server VM (build 19.0-b09, mixed mode)
> Reporter: joe mcverry
> Priority: Minor
> Fix For: 1.7.0
>
>
> joe@joe-laptop:~/axis$ bin/wsdl2java.sh -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s
> Using AXIS2_HOME: /home/joe/axis
> Using JAVA_HOME: /usr/lib/jvm/java-6-sun-1.6.0.16
> Retrieving document at 'Axis2UserGuide.wsdl'.
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.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: Unable to resolve imported document at 'Axis2UserGuide.wsdl'.: java.io.FileNotFoundException: This file was not found: file:/home/joe/axis/Axis2UserGuide.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>(CodeGenerationEngine.java:111)
> ... 2 more
> Caused by: java.io.FileNotFoundException: This file was not found: file:/home/joe/axis/Axis2UserGuide.wsdl
> at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
> ... 6 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org