THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
import javax.xml.ws.Endpoint; import org.apache.cxf.core.interceptor.LoggingInInterceptor; import org.apache.cxf.core.interceptor.LoggingOutInterceptor; import org.apache.cxf.jaxws.EndpointImpl; EndpointImpl ep = (EndpointImpl) Endpoint.publish("http://localhost/service", service); ep.getServer().getEndpoint().getInInterceptors().add(new LoggingInInterceptor()); ep.getServer().getEndpoint().getOutInterceptors().add(new LoggingOutInterceptor()); |
...