Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 14901 invoked from network); 26 Aug 2008 12:15:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 12:15:43 -0000 Received: (qmail 68495 invoked by uid 500); 26 Aug 2008 12:15:39 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 68442 invoked by uid 500); 26 Aug 2008 12:15:39 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 68431 invoked by uid 99); 26 Aug 2008 12:15:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 05:15:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ecapilla@indra.es designates 213.170.46.15 as permitted sender) Received: from [213.170.46.15] (HELO mailhost3.indra.es) (213.170.46.15) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 26 Aug 2008 12:14:39 +0000 Received: from MADARRMAIL5.indra.es ([192.168.10.86]) by mailhost3.indra.es with Microsoft SMTPSVC(6.0.3790.3959); Tue, 26 Aug 2008 14:15:06 +0200 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Error to read the response of the service Date: Tue, 26 Aug 2008 14:15:06 +0200 Message-ID: <49F1055B77B3504C9E2D8512246BC2B9A6E7A3@MADARRMAIL5.indra.es> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error to read the response of the service Thread-Index: AckHZ8POEvHzYLm4T6O/h8CGbqX6WQACzIyQ References: <19158788.post@talk.nabble.com> From: "Capilla Castillo, Esther" To: X-OriginalArrivalTime: 26 Aug 2008 12:15:06.0659 (UTC) FILETIME=[60654F30:01C90775] X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I'm developing a web service with axis 1.4 with Java, and the service = return a Response with a vector of string (String[] listaString). In the = service the return have 3 strings, but in the client when read the = response of the service, the vector only contain the final element. For = example: If the service makes the following response: ResponseListarHijosDocVirtual response =3D new = ResponseListarHijosDocVirtual(); String[] listaDatosHijos =3D new String[3]; listaDatosHijos[0] =3D "uno"; listaDatosHijos[1] =3D "dos"; listaDatosHijos[3] =3D "tres"; response.setListaDatosHijos(listaDatosHijos); =20 return response; In the client... response =3D usoServicio.listarHijosDocVirtual(req); //here obtain the = response of the service String[] lista =3D response.getListaDatosHijos(); System.out.println("Size: "+ lista.length); //here write 1 System.out.println("Elment: "+ lista[0]); //here write 'tres' Where is the rest of element? thanks=20 =09 Esther Capilla Castillo=20 Gesti=F3n Documental Centro Mixto de I+D Indra-UCLM=20 Ronda de Toledo s/n 13005 - Ciudad Real Tlfno: +34 92 601 21 20 Ext. 28919 Fax: +34 92 601 21 23 e-mail:ecapilla@indra.es http://www.indra.es/ P Cuide el medio ambiente, no imprima este correo si no es necesario. =20 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org