Hi,

Please never mind. I just realized I had to put that file into the bin dir.

Thanks,

Pavel

On 5/20/2010 8:27 AM, Pavel Grinfeld wrote:
Hi,

Just started looking at Axis2 and while following instructions ran into this: Please help.


C:\pg\code\lib\axis2-1.5.1\bin>WSDL2Java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s

Using AXIS2_HOME:   C:\pg\code\lib\axis2-1.5.1
Using JAVA_HOME:    C:\Program Files\Java\jdk1.6.0_18
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.File NotFoundException: This file was not found: file:/C:/pg/code/lib/axis2-1.5/bin/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:/C:/pg/code/lib/axis2-1.5/bin/Axis2UserGuide.wsdl at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
        ... 6 more

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


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

Reply via email to