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


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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to