axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Ruban <dmi...@ruban.biz>
Subject Re: Replacing 'encoded' with 'literal' in WSDL directly. [Axis2]
Date Fri, 03 Jun 2011 04:27:50 GMT
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

Mime
View raw message