API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.ws. Service View Source
Author(s)
Since
JAX-WS 2.0
Version
Serial
Hierarchy
 Object
      Service
Implements
Subclasses
Description
public class Service
  Service objects provide the client view of a Web service.
Constructors
protected Service (URL wsdlDocumentLocation, QName serviceName)
Methods
Hide/Show inherited methods
public void addPort (QName portName, String bindingId, String endpointAddress)
  Creates a new port for the service.
publicstatic Service create (QName serviceName)
  Create a Service instance.
publicstatic Service create (URL wsdlDocumentLocation, QName serviceName)
  Create a Service instance.
public Dispatch< T> createDispatch (QName portName, Class< T> type, Mode mode)
  Creates a Dispatch instance for use with objects of the users choosing.
public Dispatch<Object> createDispatch (QName portName, JAXBContext context, Mode mode)
  Creates a Dispatch instance for use with JAXB generated objects.
public Executor getExecutor ()
  Returns the executor for this Serviceinstance.
public HandlerResolver getHandlerResolver ()
  Returns the configured handler resolver.
public T getPort (Class< T> serviceEndpointInterface)
  The getPort method returns a stub.
public T getPort (QName portName, Class< T> serviceEndpointInterface)
  The getPort method returns a stub.
public Iterator<QName> getPorts ()
  Returns an Iterator for the list of QNames of service endpoints grouped by this service
public QName getServiceName ()
  Gets the name of this service.
public URL getWSDLDocumentLocation ()
  Gets the location of the WSDL document for this Service.
public void setExecutor (Executor executor)
  Sets the executor for this Service instance.
public void setHandlerResolver (HandlerResolver handlerResolver)
  Sets the HandlerResolver for this Service instance.
Fields
Hide/Show inherited fields
Nested Classes
  Service.Mode
The orientation of a dynamic client or service.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar