Adding LoggingFeature to js_client demo
@@ -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 {
