You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2007/06/18 03:47:19 UTC

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

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>