Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 54688 invoked from network); 28 Mar 2007 13:56:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2007 13:56:38 -0000 Received: (qmail 18384 invoked by uid 500); 28 Mar 2007 13:56:38 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 18255 invoked by uid 500); 28 Mar 2007 13:56:37 -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 18244 invoked by uid 99); 28 Mar 2007 13:56:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 06:56:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of davidillsley@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Mar 2007 06:56:29 -0700 Received: by ug-out-1314.google.com with SMTP id j40so229838ugd for ; Wed, 28 Mar 2007 06:56:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HUmtRnIFtX0oQ5qVgYbMoPvZY9YjBj3m2nv71AQT2d523ZYt7ZmiyxJ8QuGHu0V15M+QssdcyNMqwVccuUu202bBcWv8sKrCF9QNtdL1x0Bx06gbDO5rwGs4rF/12OZTlxjXSc/yago9XPdmYjf/GRJif0rChVoSey/nCQfEc3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hWCCoToWAu+9bNMa0YIvkl0BMms/XauY2q1XErMOcvBYxavmHiE4hLgHa4CbgYFffX5rT7J+M9u7Uq5oID3gCfX9A1HwHKkYmV522FjW5uKSPBrlQnv6aqRa+S54XiylD/6HsqGfJ5c37/+dAzC87alYxkLmFwHAb4lo5dSDw+0= Received: by 10.114.72.1 with SMTP id u1mr3708830waa.1175090166965; Wed, 28 Mar 2007 06:56:06 -0700 (PDT) Received: by 10.114.159.8 with HTTP; Wed, 28 Mar 2007 06:56:06 -0700 (PDT) Message-ID: <9abd5e730703280656p16702a43k2f96a7265efdef56@mail.gmail.com> Date: Wed, 28 Mar 2007 14:56:06 +0100 From: "David Illsley" To: axis-user@ws.apache.org Subject: Re: [AXIS2] EndpointReference Serialization In-Reply-To: <7c85032b0703280118i6026253oba462acb2bfb3b11@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7c85032b0703280118i6026253oba462acb2bfb3b11@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 28/03/07, Francesco Leone wrote: > Hi! > I have some trouble with EndpointReference serialization, in particular when > i use > an Endpoint Reference with ReferenceParameters, i have a notSerializable > exception > referred to org.apache.axiom.om.impl.llom > .OMElementImpl . I guess that the OMElement > used ad ReferenceParameters is the origin of the problem, i just take a look > to the EndpointReference source > of axis2-1.1.1 but i find that there is a Map to collect the OMElement > rappresenting ReferenceParameters but there are not > in the class the readObject and writeObject method to permit the > serialization of this map of OMElement. > One possible solution is to transform EndpointReference in the realtive > OMElement (by EndpointReferenceHelper), then serializing with > OMElement.serialize() > and then, after the deserialization, transforming the OMElement in > EndpointReference. A little bit complicated..any suggestions? > Thanks > Francesco Leone > Yes, try Axis2 1.2-RC1. The EndpointReference class now implements read/writeObject which correctly serialises the EPR to/from XML. David -- David Illsley - IBM Web Services Development --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org