Example usage for javax.xml.ws Service getHandlerResolver

List of usage examples for javax.xml.ws Service getHandlerResolver

Introduction

In this page you can find the example usage for javax.xml.ws Service getHandlerResolver.

Prototype

public HandlerResolver getHandlerResolver() 

Source Link

Document

Returns the configured handler resolver.

Usage

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;
}