axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bård Kalbakk <kalb...@gmail.com>
Subject Re: Problem using complex types from Doc/Lit web service
Date Thu, 28 Jan 2010 22:07:23 GMT
Just an update. The web service is actually using RPC/Encoded SOAP, so
I was wrong about that.

However, I managed to get this working very well with Axis1.4.  All it
took was to disable multi-reference values with "sendMultiRefs=false",
and it works without a hitch.

Bård.


2010/1/28 Bård Kalbakk <kalbakk@gmail.com>:
> Hello
>
> I have a Document/Literal web service with some complex types, such as this:
> <complexType name="ArrayOfint">
> <complexContent>
> <restriction base="SOAP-ENC:Array">
> <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:int[]"/>
> </restriction>
> </complexContent>
> </complexType>
>
>
>
> Some methods return Arrayofint where expected, but the problem is that
> I cannot access the elements inside this ArrayofInt. ArrayofInt
> doesn't expose any 'Array' methods or logic.
> Definition of ArrayOfint:
> public interface ArrayOfint extends org.xmlsoap.schemas.soap.encoding.Array
>
> Is Axis2 failing at mapping the complex types? I can use all other
> methods at the web service that doesn't include these complex types.
>
> Bård.
>

Mime
View raw message