Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 43380 invoked from network); 6 Jun 2010 12:03:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jun 2010 12:03:52 -0000 Received: (qmail 19611 invoked by uid 500); 6 Jun 2010 12:03:49 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 19035 invoked by uid 500); 6 Jun 2010 12:03:48 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 19021 invoked by uid 500); 6 Jun 2010 12:03:48 -0000 Delivered-To: apmail-ws-axis-dev@ws.apache.org Received: (qmail 19013 invoked by uid 99); 6 Jun 2010 12:03:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 12:03:48 +0000 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cchinu@gmail.com designates 74.125.83.177 as permitted sender) Received: from [74.125.83.177] (HELO mail-pv0-f177.google.com) (74.125.83.177) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 12:03:41 +0000 Received: by pvg11 with SMTP id 11so674397pvg.22 for ; Sun, 06 Jun 2010 05:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=2lzaxm2JHTH8Q5l+Y8IX372tn/GNX84X8Lg/ARLjpLs=; b=Q6SILW0FF7aH8xXeHC9LXbioazFqUJlcTbfQL0s6Fitul7V3qn8QgdvXHOTg/HRdj4 GjDqZU9ZU/fGpD8TxYo8VX5jNSXQrVSxvhy5F8e0IjFiS+FpUgds3z/VAowgRziFDx5R vxZotEUesU1yjmQIV7U6+gey3JjGX+ffKlHE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=a3b1EkYVbq17ur3IaSqf0Uu3qBbqG3itdEmDPIJhvthN19W4vYzS+RLUOV459LrC3d 9AVf/xtOQfEDZ/R8ylJz13loi2V29m1KD+IoD7e0EacwEcpnimRUd1KMeHQGXUTdqJ1r 1L9xlTcSrRhRwoE9fS2r++bScADr4MEo6xUFg= MIME-Version: 1.0 Received: by 10.141.13.11 with SMTP id q11mr10783180rvi.75.1275825801133; Sun, 06 Jun 2010 05:03:21 -0700 (PDT) Received: by 10.141.29.1 with HTTP; Sun, 6 Jun 2010 05:03:21 -0700 (PDT) Date: Sun, 6 Jun 2010 17:33:21 +0530 Message-ID: Subject: WSDL for 1 and 2d string array From: Chinmoy Chakraborty To: axis-dev@ws.apache.org, axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=000e0cd1103cac013904885b5724 --000e0cd1103cac013904885b5724 Content-Type: text/plain; charset=ISO-8859-1 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: ....... .... 2D Array: ... ... Could anybody please explain this? Chinmoy --000e0cd1103cac013904885b5724 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello everybody,

I have two services, one of them return= s 1d string array (String[]) and the other one returns 2d string array (Str= ing[][]). I noticed the=A0invokeResponse element in WSDL is same for both o= f them:

1D Array:
.......
<xs:eleme= nt name=3D"invokeResponse">
=A0=A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0<xs:complexType>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0<xs:sequence>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xs:element maxOccurs= =3D"unbounded" minOccurs=3D"0" name=3D"return"= ; nillable=3D"true" type=3D"xs:string"/>
= =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xs:sequence>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xs:complexType>
= =A0=A0 =A0 =A0 =A0 =A0 =A0</xs:element>
....
2D Array:
...
<xs:element name=3D"invoke= Response">
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xs:compl= exType>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xs:sequence>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0<xs:element maxOccur= s=3D"unbounded" minOccurs=3D"0" name=3D"return&quo= t; nillable=3D"true" type=3D"xs:string"/>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xs:sequence>
=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0</xs:complexType>
=A0= =A0 =A0 =A0 =A0 =A0 =A0</xs:element>
...
Could anybody please explain this?=A0

Chinmoy
--000e0cd1103cac013904885b5724--