Return-Path: Delivered-To: apmail-incubator-cxf-user-archive@locus.apache.org Received: (qmail 4334 invoked from network); 27 Aug 2007 16:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Aug 2007 16:58:35 -0000 Received: (qmail 11009 invoked by uid 500); 27 Aug 2007 16:58:29 -0000 Delivered-To: apmail-incubator-cxf-user-archive@incubator.apache.org Received: (qmail 10968 invoked by uid 500); 27 Aug 2007 16:58:29 -0000 Mailing-List: contact cxf-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-user@incubator.apache.org Delivered-To: mailing list cxf-user@incubator.apache.org Received: (qmail 10959 invoked by uid 99); 27 Aug 2007 16:58:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 09:58:29 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kdwalton@us.ibm.com designates 32.97.182.146 as permitted sender) Received: from [32.97.182.146] (HELO e6.ny.us.ibm.com) (32.97.182.146) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Aug 2007 16:59:15 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l7RGxLPT007609 for ; Mon, 27 Aug 2007 12:59:21 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l7RGvwaj541712 for ; Mon, 27 Aug 2007 12:57:58 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l7RGvwgL029527 for ; Mon, 27 Aug 2007 12:57:58 -0400 Received: from d01ml064.pok.ibm.com (d01ml064.pok.ibm.com [9.56.228.131]) by d01av03.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l7RGvwoT029524 for ; Mon, 27 Aug 2007 12:57:58 -0400 Subject: How to define which properties to expose per class using simple server To: cxf-user@incubator.apache.org X-Mailer: Lotus Notes Release 8.0 August 02, 2007 Message-ID: From: Kaleb Walton Date: Mon, 27 Aug 2007 12:57:48 -0400 X-MIMETrack: Serialize by Router on D01ML064/01/M/IBM(Release 7.0.2FP2 IGS702FP2HF2|August 8, 2007) at 08/27/2007 12:57:57 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBF9D7DFCF41258f9e8a93df938690918c0ABBF9D7DFCF4125" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org --0__=0ABBF9D7DFCF41258f9e8a93df938690918c0ABBF9D7DFCF4125 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: quoted-printable I don't want to expose all of the properties of my Person object throug= h web services. Is there a way to define the exposed properties via Sprin= g using the simple server? My server has the following config: My hypothetical Person object contains an id, name, address and passwor= d. Let's say that I'd like to expose the "id", "name" and "address" proper= ties of the Person but not the "password" - is there an easy way to define t= hat through Spring configuration? I'm assuming I could make the property transient but I may not want to do that for internal serializations. Regards, Kaleb= --0__=0ABBF9D7DFCF41258f9e8a93df938690918c0ABBF9D7DFCF4125--