axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Esher" <marc.es...@gmail.com>
Subject Re: WSDL2Java: WSDLProcessingException: Encoded use is not supported???
Date Wed, 05 Mar 2008 01:55:15 GMT
i think you have to use axis 1.4

On Tue, Mar 4, 2008 at 8:53 PM, Eric Chow <eric138@gmail.com> wrote:
> Hello,
>
>  I have a WSDL from service provider, it throws the following exception
>  when I use WSDL2JAVA to generate stub:
>
>
>      [java] - Encoded use is not supported
>      [java] org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
>  Encoded use is not supported
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListFromSoapBody(WSDL11ToAxisServiceBuilder.java:1777)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPorttype(WSDL11ToAxisServiceBuilder.java:1528)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.java:1431)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:255)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
>      [java]     at
>  org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:141)
>      [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>      [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>      [java] org.apache.axis2.wsdl.codegen.CodeGenerationException:
>  Error parsing WSDL
>      [java]     at
>  org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
>      [java]     at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>      [java]     at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
>      [java] Caused by: org.apache.axis2.AxisFault: Encoded use is not supported
>      [java]     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:291)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
>      [java]     at
>  org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:141)
>      [java]     ... 2 more
>      [java] Caused by:
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
>  Encoded use is not supported
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getPartsListFromSoapBody(WSDL11ToAxisServiceBuilder.java:1777)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPorttype(WSDL11ToAxisServiceBuilder.java:1528)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.java:1431)
>      [java]     at
>  org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:255)
>      [java]     ... 4 more
>      [java] Exception in thread "main"
>
>
>  How can I solve it?
>
>  Best regards,
>  Eric
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

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


Mime
View raw message