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/05/01 16:06:16 UTC

[cxf] branch master updated: Adding LoggingFeature to js_client demo

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 f30ed64  Adding LoggingFeature to js_client demo
f30ed64 is described below

commit f30ed64a36cc5f54f1e914cc504ad170aa52c704
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue May 1 17:03:48 2018 +0100

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

diff --git a/distribution/src/main/release/samples/js_client/src/main/java/demo/hw/server/Server.java b/distribution/src/main/release/samples/js_client/src/main/java/demo/hw/server/Server.java
index 66a2db5..066154b 100644
--- a/distribution/src/main/release/samples/js_client/src/main/java/demo/hw/server/Server.java
+++ b/distribution/src/main/release/samples/js_client/src/main/java/demo/hw/server/Server.java
@@ -21,13 +21,15 @@ package demo.hw.server;
 
 import javax.xml.ws.Endpoint;
 
+import org.apache.cxf.ext.logging.LoggingFeature;
+
 public class Server {
 
     protected Server() throws Exception {
         System.out.println("Starting 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.