Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 94837 invoked from network); 6 Sep 2007 21:55:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 21:55:18 -0000 Received: (qmail 51246 invoked by uid 500); 6 Sep 2007 21:55:05 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 51228 invoked by uid 500); 6 Sep 2007 21:55:05 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 51217 invoked by uid 99); 6 Sep 2007 21:55:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 14:55:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [70.86.180.2] (HELO gator43.hostgator.com) (70.86.180.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 21:56:22 +0000 Received: from [149.254.200.218] (port=30640 helo=[127.0.0.1]) by gator43.hostgator.com with esmtpa (Exim 4.63) (envelope-from ) id 1ITPJ7-0001rT-RO for axis-user@ws.apache.org; Thu, 06 Sep 2007 16:54:41 -0500 Message-ID: <46E07712.3050709@cantorva.com> Date: Thu, 06 Sep 2007 22:54:26 +0100 From: Simon Gibbs User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: can't serialize arraylist References: <12521558.post@talk.nabble.com> In-Reply-To: <12521558.post@talk.nabble.com> X-Enigmail-Version: 0.95.3 OpenPGP: id=AEB3FE6F Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1E1A7C025DB7D6A4A87DCD24" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator43.hostgator.com X-AntiAbuse: Original Domain - ws.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - cantorva.com X-Virus-Checked: Checked by ClamAV on apache.org --------------enig1E1A7C025DB7D6A4A87DCD24 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mathias P.W Nilsson wrote: > > Any ideas? I really hope that I can send a object that has a collection= of > objects? > =20 Just an idea, sorry, but I am an Axis newbie mself. When I set up similar a service my tool of choice (an Eclipse wizard) gave me warnings saying something along the lines of "JAXB can't do "=20 where the type was simply List or Set. I solved this by changing my DTOs to use arrays externally and to have the getter convert an internal typed set or list to a typed array and return a new instance of an array each time it was called. Each DTO then simply required an add(Entity a) method for use by some type converter co= de. Unfortunately it is early days for me still and I can promise this approach is without issues. I imagine the first issue is that you are using domain objects directly whereas my entities were not persistent at all so their API was not really important to me. By the way, you may like to check if this bug applies to your set up: https://issues.apache.org/jira/browse/AXIS-2095 If it does you can email me off-list for a copy of a fixed axis.jar, or check the comments. Simon --------------enig1E1A7C025DB7D6A4A87DCD24 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG4HcZ7CPD466z/m8RAq7OAKDaKQCXGT/r7rize2AcBxKz3zUodQCgpfJ9 9u2lwUvn48GDRl1WO3pC9rA= =ilKd -----END PGP SIGNATURE----- --------------enig1E1A7C025DB7D6A4A87DCD24--