axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinmoy Chakraborty <cch...@gmail.com>
Subject Re: WSDL for 1 and 2d string array
Date Mon, 07 Jun 2010 09:19:25 GMT
So Axis2 does not support 2d arrays?




On Mon, Jun 7, 2010 at 2:41 PM, WJ Krpelan <krpelan_wj@yahoo.com> wrote:

> Hi,
> a 2d string is no XML-Schema-standard type and because of this you would
> have to do your own serialization, as for all home-grown-datastructures
> likewise.
> Anyway, every 2d string is made up of some number of ordinary strings, isnt
> it?
> Cheers Wolfgang
>
>
>
>
> --- On *Sun, 6/6/10, Chinmoy Chakraborty <cchinu@gmail.com>* wrote:
>
>
> From: Chinmoy Chakraborty <cchinu@gmail.com>
> Subject: WSDL for 1 and 2d string array
> To: axis-dev@ws.apache.org, axis-user@ws.apache.org
> Date: Sunday, June 6, 2010, 2:03 PM
>
>
> Hello everybody,
>
> I have two services, one of them returns 1d string array (String[]) and the
> other one returns 2d string array (String[][]). I noticed the invokeResponse
> element in WSDL is same for both of them:
>
> 1D Array:
> .......
> <xs:element name="invokeResponse">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element maxOccurs="unbounded" minOccurs="0"
> name="return" nillable="true" type="xs:string"/>
>                     </xs:sequence>
>                 </xs:complexType>
>             </xs:element>
> ....
> 2D Array:
> ...
> <xs:element name="invokeResponse">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element maxOccurs="unbounded" minOccurs="0"
> name="return" nillable="true" type="xs:string"/>
>                     </xs:sequence>
>                 </xs:complexType>
>             </xs:element>
> ...
>
> Could anybody please explain this?
>
> Chinmoy
>
>
>

Mime
View raw message