Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 218B7F85C for ; Tue, 2 Apr 2013 03:56:04 +0000 (UTC) Received: (qmail 41245 invoked by uid 500); 2 Apr 2013 03:56:04 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 41193 invoked by uid 500); 2 Apr 2013 03:56:03 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 41168 invoked by uid 99); 2 Apr 2013 03:56:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 03:56:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Apr 2013 03:55:59 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E8ED723889FA; Tue, 2 Apr 2013 03:55:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1463372 - /camel/trunk/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java Date: Tue, 02 Apr 2013 03:55:38 -0000 To: commits@camel.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130402035538.E8ED723889FA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ningjiang Date: Tue Apr 2 03:55:38 2013 New Revision: 1463372 URL: http://svn.apache.org/r1463372 Log: Fixed the build error of camel-soap Modified: camel/trunk/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java Modified: camel/trunk/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java?rev=1463372&r1=1463371&r2=1463372&view=diff ============================================================================== --- camel/trunk/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java (original) +++ camel/trunk/components/camel-soap/src/main/java/org/apache/camel/dataformat/soap/SoapJaxbDataFormat.java Tue Apr 2 03:55:38 2013 @@ -40,6 +40,7 @@ import org.apache.camel.dataformat.soap. import org.apache.camel.dataformat.soap.name.TypeNameStrategy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import org.xml.sax.SAXException; /** * Data format supporting SOAP 1.1 and 1.2. @@ -125,8 +126,9 @@ public class SoapJaxbDataFormat extends * * To determine the name of the top level xml elements the elementNameStrategy * is used. + * @throws IOException,SAXException */ - public void marshal(Exchange exchange, Object inputObject, OutputStream stream) throws IOException { + public void marshal(Exchange exchange, Object inputObject, OutputStream stream) throws IOException, SAXException { checkElementNameStrategy(exchange); String soapAction = getSoapActionFromExchange(exchange); @@ -253,8 +255,9 @@ public class SoapJaxbDataFormat extends /** * Unmarshal a given SOAP xml stream and return the content of the SOAP body + * @throws IOException,SAXException */ - public Object unmarshal(Exchange exchange, InputStream stream) throws IOException { + public Object unmarshal(Exchange exchange, InputStream stream) throws IOException, SAXException { checkElementNameStrategy(exchange); String soapAction = getSoapActionFromExchange(exchange);