You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by Pavel Grinfeld <pg...@freeboundaries.com> on 2010/05/20 14:27:47 UTC

Can't get into the game because of an error!

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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Can't get into the game because of an error!

Posted by Pavel Grinfeld <pg...@freeboundaries.com>.
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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Can't get into the game because of an error!

Posted by Pavel Grinfeld <pg...@freeboundaries.com>.
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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Can't get into the game because of an error!

Posted by Pavel Grinfeld <pg...@freeboundaries.com>.
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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Can't get into the game because of an error!

Posted by Pavel Grinfeld <pg...@freeboundaries.com>.
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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Can't get into the game because of an error!

Posted by Pavel Grinfeld <pg...@freeboundaries.com>.
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: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org