List of usage examples for javax.xml.ws Service getHandlerResolver
public HandlerResolver getHandlerResolver()
From source file:org.jboss.wsf.test.JBossWSTestHelper.java
private static Object getImplementationObject() { Service service = Service.create(new QName("dummyService")); Object obj = service.getHandlerResolver(); if (obj == null) { service.addPort(new QName("dummyPort"), SOAPBinding.SOAP11HTTP_BINDING, "http://dummy-address"); obj = service.createDispatch(new QName("dummyPort"), Source.class, Mode.PAYLOAD); }// ww w .j a v a 2 s. c om return obj; }