cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r772754 - in /cxf/branches/2.0.x-fixes/systests/src/test: java/org/apache/cxf/systest/aegis/AegisJaxWsTest.java resources/aegisJaxWsBeans.xml
Date Thu, 07 May 2009 19:51:48 GMT
Author: dkulp
Date: Thu May  7 19:51:48 2009
New Revision: 772754

URL: http://svn.apache.org/viewvc?rev=772754&view=rev
Log:
With 2.0.x, SAAJ had to explicitely be configured in.  Fix the test.

Modified:
    cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisJaxWsTest.java
    cxf/branches/2.0.x-fixes/systests/src/test/resources/aegisJaxWsBeans.xml

Modified: cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisJaxWsTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisJaxWsTest.java?rev=772754&r1=772753&r2=772754&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisJaxWsTest.java
(original)
+++ cxf/branches/2.0.x-fixes/systests/src/test/java/org/apache/cxf/systest/aegis/AegisJaxWsTest.java
Thu May  7 19:51:48 2009
@@ -24,6 +24,7 @@
 import java.util.Map.Entry;
 
 import org.apache.cxf.aegis.databinding.AegisDatabinding;
+import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor;
 import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
 import org.apache.cxf.systest.aegis.bean.Item;
 import org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor;
@@ -51,6 +52,8 @@
         JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
         factory.setServiceClass(AegisJaxWs.class);
         if (sec) {
+            factory.getOutInterceptors().add(new SAAJOutInterceptor());
+
             factory.setAddress("http://localhost:9167/aegisJaxWsUN");
             WSS4JOutInterceptor wss4jOut = new WSS4JOutInterceptor();
             wss4jOut.setProperty("action", "UsernameToken");

Modified: cxf/branches/2.0.x-fixes/systests/src/test/resources/aegisJaxWsBeans.xml
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/systests/src/test/resources/aegisJaxWsBeans.xml?rev=772754&r1=772753&r2=772754&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/systests/src/test/resources/aegisJaxWsBeans.xml (original)
+++ cxf/branches/2.0.x-fixes/systests/src/test/resources/aegisJaxWsBeans.xml Thu May  7 19:51:48
2009
@@ -72,6 +72,8 @@
 		</jaxws:serviceFactory>
 		
 		<jaxws:inInterceptors>
+            <bean
+                class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" />
   			<bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
 	     		<constructor-arg>
 	        		<map>



Mime
View raw message