You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2018/06/15 15:25:34 UTC

[cxf] branch master updated: Adding LoggingFeature to ws_policy sample

This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new c61190a  Adding LoggingFeature to ws_policy sample
c61190a is described below

commit c61190aa92a89cbfc3ae67df5c21eb3853a751f2
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Fri Jun 15 16:24:58 2018 +0100

    Adding LoggingFeature to ws_policy sample
---
 .../samples/ws_policy/src/main/java/demo/ws_policy/server/Server.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/distribution/src/main/release/samples/ws_policy/src/main/java/demo/ws_policy/server/Server.java b/distribution/src/main/release/samples/ws_policy/src/main/java/demo/ws_policy/server/Server.java
index cc65198..e13caf5 100644
--- a/distribution/src/main/release/samples/ws_policy/src/main/java/demo/ws_policy/server/Server.java
+++ b/distribution/src/main/release/samples/ws_policy/src/main/java/demo/ws_policy/server/Server.java
@@ -25,6 +25,7 @@ import javax.xml.ws.Endpoint;
 import org.apache.cxf.Bus;
 import org.apache.cxf.BusFactory;
 import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.ext.logging.LoggingFeature;
 
 public class Server {
 
@@ -38,7 +39,7 @@ public class Server {
 
         Object implementor = new GreeterImpl();
         String address = "http://localhost:9000/SoapContext/SoapPort";
-        Endpoint.publish(address, implementor);
+        Endpoint.publish(address, implementor, new LoggingFeature());
     }
 
     public static void main(String args[]) throws Exception {

-- 
To stop receiving notification emails like this one, please contact
coheigea@apache.org.