Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 37595 invoked from network); 30 Jun 2009 01:57:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 01:57:39 -0000 Received: (qmail 34259 invoked by uid 500); 30 Jun 2009 01:57:48 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 34182 invoked by uid 500); 30 Jun 2009 01:57:48 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 34163 invoked by uid 99); 30 Jun 2009 01:57:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 01:57:48 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nathaniel.auvil@gmail.com designates 209.85.219.209 as permitted sender) Received: from [209.85.219.209] (HELO mail-ew0-f209.google.com) (209.85.219.209) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 01:57:40 +0000 Received: by ewy5 with SMTP id 5so6387406ewy.30 for ; Mon, 29 Jun 2009 18:57:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7JGwpnP9uN3pqrE7NvSysF6THrmyKTx1fC8P+PO4IDE=; b=aE+REvik2LeWmpMehdL9pdbRxkXBLKh03uq6zvR2Y9yM+wIQ780/UqnNkvLn+sG2ZI q0p8i0d0WewH5J8N38kzm+jtJ7SNUWxiazUun1YFzfOl2Xw68OijjuXmrDMy+5YmUDYT QwvHnddqnxLem9HlOJ0H814Jv5Iq3rmQpkewU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UYkRffqCATwieKw8AmufdaylU2/6IBC/tHm8Cpe5Dq49VAfFOXl8+TszBgPrFGpGDN t+AjD76SLFc8I0xaco7XAhrPG8BgzVQJSojvi//zHlV57o8JfYVhbfUA5rbLPLLcyayn xC3mXaxE1h31faettJIEk0HAKPf1UOIzzYq+c= MIME-Version: 1.0 Received: by 10.210.63.2 with SMTP id l2mr1417308eba.69.1246327038847; Mon, 29 Jun 2009 18:57:18 -0700 (PDT) Date: Mon, 29 Jun 2009 21:57:18 -0400 Message-ID: <3c68c5a40906291857k499e3eferdbf715381513d311@mail.gmail.com> Subject: JAX-RS Exception Handlers and Validation From: Nathaniel Auvil To: users@cxf.apache.org Content-Type: multipart/alternative; boundary=0015174c3e886cabce046d8720b8 X-Virus-Checked: Checked by ClamAV on apache.org --0015174c3e886cabce046d8720b8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I am looking at how to get validations and exception handling going. Right now i send some garbage XML in and it throws a JAXException back in the response. I would prefer to be able to handle this back on the serve and give the client a less specific error. I am using Spring to configure things and i did not see anything in the examples which shows me how to add an exception handler or how to get control of the XML Validations. Can anyone point me in the right direction? --0015174c3e886cabce046d8720b8--