cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r548161 - /incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/wsdl/cxf-servlet.xml
Date Mon, 18 Jun 2007 01:47:19 GMT
Author: ffang
Date: Sun Jun 17 18:47:18 2007
New Revision: 548161

URL: http://svn.apache.org/viewvc?view=rev&rev=548161
Log:
show how to specify inteceptors when publish endpoint in spring config file

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/wsdl/cxf-servlet.xml

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/wsdl/cxf-servlet.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/wsdl/cxf-servlet.xml?view=diff&rev=548161&r1=548160&r2=548161
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/wsdl/cxf-servlet.xml
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/wsdl/cxf-servlet.xml
Sun Jun 17 18:47:18 2007
@@ -30,5 +30,14 @@
         id="hello_world_xml_bare"
         implementor="demo.hw.server.GreeterImpl"
         wsdlLocation="WEB-INF/wsdl/hello_world.wsdl"
-        address="/hello_world" />
+        address="/hello_world">
+                <jaxws:inInterceptors>
+                        <bean class="org.apache.cxf.interceptor.LoggingInInterceptor">
+                        </bean>
+                </jaxws:inInterceptors>
+                <jaxws:outInterceptors>
+                        <bean class="org.apache.cxf.interceptor.LoggingOutInterceptor">
+                        </bean>
+                </jaxws:outInterceptors>
+    </jaxws:endpoint>
 </beans>



Mime
View raw message