Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 21678 invoked from network); 19 Feb 2007 16:23:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2007 16:23:37 -0000 Received: (qmail 78202 invoked by uid 500); 19 Feb 2007 16:23:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 78054 invoked by uid 500); 19 Feb 2007 16:23:35 -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 78002 invoked by uid 99); 19 Feb 2007 16:23:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 08:23:35 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=FUZZY_PHARMACY X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2007 08:23:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 24CFD7141FA for ; Mon, 19 Feb 2007 08:23:06 -0800 (PST) Message-ID: <20566442.1171902186148.JavaMail.jira@brutus> Date: Mon, 19 Feb 2007 08:23:06 -0800 (PST) From: "Enrique Moya (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-2215) java.lang.List returns only an false element In-Reply-To: <9805102.1171901645499.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enrique Moya updated AXIS2-2215: -------------------------------- Attachment: code.zip server, client and execution > java.lang.List returns only an false element > ---------------------------------------------------------------------------------------------------- > > Key: AXIS2-2215 > URL: https://issues.apache.org/jira/browse/AXIS2-2215 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: databinding > Affects Versions: nightly > Environment: Axis2 Nighty, Eclipse 3.2.1, Windows 2000 > Reporter: Enrique Moya > Priority: Blocker > Attachments: code.zip > > > I've got two web services, one with a return type List and another with a return type List. > None of them returns the elements of the list, they only returns false element > service serveiProvaList returns List > ----------------------------------------------------------- > package principal; > import java.util.ArrayList; > import java.util.List; > public class GestorGeneral > { > public List DonemLlistaStrings(String entrada) > { > List llista = new ArrayList(); > > llista.add("1 item"); > llista.add("2 item"); > llista.add("3 item"); > llista.add("4 item"); > llista.add("5 item"); > > return llista; > } > } > It returns this > HTTP/1.1 200 OK > Server: Apache-Coyote/1.1 > Content-Type: text/xml;charset=UTF-8 > Transfer-Encoding: chunked > Date: Mon, 19 Feb 2007 16:03:50 GMT > 167 > false > 0 > service APService returns List > ----------------------------------------------------------- > package com.thales.vhccc.ap.dao; > import java.util.ArrayList; > import java.util.Date; > import java.util.List; > import com.thales.vhccc.ap.bean.APAttendance; > import com.thales.vhccc.ap.bean.APPharmacy; > import com.thales.vhccc.ap.bean.APVaccine; > import com.thales.vhccc.dao.exception.AttendanceBusinessException; > import com.thales.vhccc.dao.exception.PharmacyBusinessException; > import com.thales.vhccc.dao.exception.VaccineBusinessException; > public class APDaoImpl implements APDao { > public List getAlergicsAttList(String cip, String language) > throws AttendanceBusinessException { > // TODO Auto-generated method stub > List llistaAtencions = new ArrayList(); > APAttendance episodi1 = new APAttendance(); > episodi1.setAttendanceCode("Codi1 " + cip); > episodi1.setAttendanceDesc("Llenguatge1 " + language); > episodi1.setAttendanceType(1); > episodi1.setCenterCode("CodiCentre"); > episodi1.setCenterDesc("DescripcioCentre"); > episodi1.setDiagCodeCim("DIAGCODE"); > Date a = new Date(); > episodi1.setEndDate(a); > episodi1.setInitDate(a); > episodi1.setNhc("NHC"); > episodi1.setSrvCode("CodiServidor"); > episodi1.setSrvDesc("DescripcioServidor"); > llistaAtencions.add(episodi1); > > return llistaAtencions; > } > } > It returns > HTTP/1.1 200 OK > Server: Apache-Coyote/1.1 > Content-Type: application/soap+xml;action="urn:getAlergicsAttList";;charset=UTF-8 > Transfer-Encoding: chunked > Date: Mon, 19 Feb 2007 16:03:36 GMT > 173 > false > 0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org