axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fire fox <fyr3...@gmail.com>
Subject Re: Replacing 'encoded' with 'literal' in WSDL directly. [Axis2]
Date Sat, 11 Jun 2011 08:38:44 GMT
Thanks for your reply.

I'm a bit confused. All the elements are already xsd in my WSDL. Could
you please give me a clear idea on changing ?

On Fri, Jun 3, 2011 at 9:57 AM, Dmitry Ruban <dmitry@ruban.biz> wrote:
> Hi there,
>
> You have to rewrite your schema as well. Here is a good article
> http://axis.apache.org/axis2/java/core/docs/Axis2-rpc-support.html
>
> Axis2 doesn't  support "SOAP-ENC" name space, you need to move everything to
> "xsd"
>
>
> On 26/05/11 19:04, fire fox wrote:
>
> Hi all,
>       I'm trying to edit wsdl file since Axis2 does not support rpc/encoded
> transport style.
> After I replaced the encoded element with 'literal', I'm still getting some
> errors.
> Like :
> Exception in thread "main" org.apache.axis2.AxisFault:
> org.apache.axis2.databinding.ADBException: Unsupported type
> http://schemas.xmlsoap.org/soap/encoding/ Array
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>
> I'm suspicious about following element presence.
> ---  <xsd:restriction base="SOAP-ENC:Array">
> --- Also, two imports.
>  <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"
> schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
>  <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"
> schemaLocation="http://schemas.xmlsoap.org/wsdl/"/>
> I've attached the original wsdl file from their website. Please help me
> editing WSDL so that I consume it using Axis2.
> Please help.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org

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


Mime
View raw message