No its not a bug. Axis2 does not support RPC-encoded style WSDLs.

Thanks,
Keith.

On 10/28/07, k2g <[EMAIL PROTECTED]> wrote:
>
>
> wsdl2java for Axis2-1.3 doesnt generate stubs for
>
> webservices.*amazon*.com/AWSECommerceService/AWSECommerceService.*wsdl
> * soap.*amazon*.com/schemas2/*Amazon*WebServices.*wsdl*
> api.google.com/*GoogleSearch*.*wsdl
>
> *because of encoding issues*
> *is this a bug ?
>
> following exception is generated for C:\> wsdl2java -d adb uri
> http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
>
> [ERROR] Encoded use is not supported
>
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
>  Encoded use is not supported
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListF
> romSoapBody(WSDL11ToAxisServiceBuilder.java:1777)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaF
> orPorttype(WSDL11ToAxisServiceBuilder.java:1528)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapp
> erSchema(WSDL11ToAxisServiceBuilder.java:1431)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
> ce(WSDL11ToAxisServiceBuilder.java:255)
>         at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
> llServices(WSDL11ToAllAxisServicesBuilder.java:109)
>         at 
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
> ionEngine.java:141)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException
> : Error parsing WSDL
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine
> .<init>(CodeGenerat
> ionEngine.java:147)
>         at org.apache.axis2.wsdl.WSDL2Code.main (WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: org.apache.axis2.AxisFault: Encoded use is not supported
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java :417)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
> ce(WSDL11ToAxisServiceBuilder.java:291)
>         at
> org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
> llServices( WSDL11ToAllAxisServicesBuilder.java:109)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine
> .<init>(CodeGenerat
> ionEngine.java:141)
>         ... 2 more
> Caused by:
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessin
> gException: Encoded use is not supported
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListF
> romSoapBody(WSDL11ToAxisServiceBuilder.java:1777)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaF
> orPorttype(WSDL11ToAxisServiceBuilder.java:1528)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapp
> erSchema(WSDL11ToAxisServiceBuilder.java:1431)
>         at
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
> ce(WSDL11ToAxisServiceBuilder.java:255)
>         ... 4 more
>
> -------------
>
>
> --
> --
> Krishna




-- 
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to