You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/08/19 03:37:50 UTC
svn commit: r686930 - in /activemq/camel/trunk:
components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
pom.xml
Author: ningjiang
Date: Mon Aug 18 18:37:50 2008
New Revision: 686930
URL: http://svn.apache.org/viewvc?rev=686930&view=rev
Log:
CAMEL-835 update the CXF version to 2.1.2
Modified:
activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
activemq/camel/trunk/pom.xml
Modified: activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java?rev=686930&r1=686929&r2=686930&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java (original)
+++ activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfCustomizedExceptionTest.java Mon Aug 18 18:37:50 2008
@@ -96,7 +96,7 @@
assertEquals("Expect to get right exception message", EXCEPTION_MESSAGE, e.getMessage());
assertTrue("Exception is not instance of SoapFault", e instanceof SoapFault);
assertEquals("Expect to get right detail message", DETAIL_TEXT, ((SoapFault)e).getDetail().getTextContent());
- assertEquals("Expect to get right fault-code", SoapFault.FAULT_CODE_CLIENT, ((SoapFault)e).getFaultCode());
+ assertEquals("Expect to get right fault-code", "{http://schemas.xmlsoap.org/soap/envelope/}Client", ((SoapFault)e).getFaultCode().toString());
}
}
Modified: activemq/camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/pom.xml?rev=686930&r1=686929&r2=686930&view=diff
==============================================================================
--- activemq/camel/trunk/pom.xml (original)
+++ activemq/camel/trunk/pom.xml Mon Aug 18 18:37:50 2008
@@ -42,7 +42,7 @@
<compiler.fork>false</compiler.fork>
<!-- Note that activemq dependency is only used for testing! -->
<activemq-version>5.1.0</activemq-version>
- <cxf-version>2.1.1</cxf-version>
+ <cxf-version>2.1.2</cxf-version>
<felix-version>1.4.1</felix-version>
<felix-osgi-version>1.0.1</felix-osgi-version>
<httpcore-version>4.0-alpha6</httpcore-version>