## Uses of Class
javax.xml.ws.WebServiceFeature

- Packages that use WebServiceFeature
  Package | Description
  --- | ---
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.soap | This package defines APIs specific to the SOAP binding.
  javax.xml.ws.spi | This package defines SPIs for JAX-WS.

- - ### Uses of WebServiceFeature in javax.xml.ws

    Subclasses of WebServiceFeature in javax.xml.ws
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RespectBindingFeature` This feature clarifies the use of the `wsdl:binding` in a JAX-WS runtime.

    Methods in javax.xml.ws with parameters of type WebServiceFeature
    Modifier and Type | Method and Description
    --- | ---
    `static Endpoint` | Endpoint.`create(Object implementor, WebServiceFeature... features)` Creates an endpoint with the specified implementor object and web service features.
    `static Service` | Service.`create(QName serviceName, WebServiceFeature... features)` Creates a `Service` instance.
    `static Endpoint` | Endpoint.`create(String bindingId, Object implementor, WebServiceFeature... features)` Creates an endpoint with the specified binding type, implementor object, and web service features.
    `static Service` | Service.`create(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)` Creates a `Service` instance.
    `<T> Dispatch<T>` | Service.`createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the client's choosing.
    `Dispatch<Object>` | Service.`createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `<T> Dispatch<T>` | Service.`createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the client's choosing.
    `Dispatch<Object>` | Service.`createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `<T> T` | Service.`getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.
    `<T> T` | EndpointReference.`getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.
    `<T> T` | Service.`getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.
    `<T> T` | Service.`getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.
    `static Endpoint` | Endpoint.`publish(String address, Object implementor, WebServiceFeature... features)` Creates and publishes an endpoint for the specified implementor object at the given address.

    Constructors in javax.xml.ws with parameters of type WebServiceFeature
    Constructor and Description
    `Service(URL wsdlDocumentLocation, QName serviceName, WebServiceFeature... features)`

  - ### Uses of WebServiceFeature in javax.xml.ws.soap

    Subclasses of WebServiceFeature in javax.xml.ws.soap
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AddressingFeature` AddressingFeature represents the use of WS-Addressing with either the SOAP 1.1/HTTP or SOAP 1.2/HTTP binding.
    `class` | `MTOMFeature` This feature represents the use of MTOM with a web service.

  - ### Uses of WebServiceFeature in javax.xml.ws.spi

    Methods in javax.xml.ws.spi with parameters of type WebServiceFeature
    Modifier and Type | Method and Description
    --- | ---
    `Endpoint` | Provider.`createAndPublishEndpoint(String address, Object implementor, WebServiceFeature... features)` Creates and publishes an endpoint object with the specified address, implementation object and web service features.
    `abstract <T> Dispatch<T>` | ServiceDelegate.`createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the user's choosing.
    `abstract Dispatch<Object>` | ServiceDelegate.`createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `abstract <T> Dispatch<T>` | ServiceDelegate.`createDispatch(QName portName, Class<T> type, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with objects of the user's choosing.
    `abstract Dispatch<Object>` | ServiceDelegate.`createDispatch(QName portName, JAXBContext context, Service.Mode mode, WebServiceFeature... features)` Creates a `Dispatch` instance for use with JAXB generated objects.
    `Endpoint` | Provider.`createEndpoint(String bindingId, Class<?> implementorClass, Invoker invoker, WebServiceFeature... features)` Creates an endpoint object with the provided binding, implementation class, invoker and web service features.
    `Endpoint` | Provider.`createEndpoint(String bindingId, Object implementor, WebServiceFeature... features)` Creates an endpoint object with the provided binding, implementation object and web service features.
    `ServiceDelegate` | Provider.`createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass, WebServiceFeature... features)` Creates a service delegate object.
    `abstract <T> T` | ServiceDelegate.`getPort(Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.
    `abstract <T> T` | Provider.`getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)` The getPort method returns a proxy.
    `abstract <T> T` | ServiceDelegate.`getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.
    `abstract <T> T` | ServiceDelegate.`getPort(QName portName, Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved.