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

- Packages that use EndpointReference
  Package | Description
  --- | ---
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.spi | This package defines SPIs for JAX-WS.
  javax.xml.ws.wsaddressing | This package defines APIs related to WS-Addressing.

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

    Methods in javax.xml.ws with type parameters of type EndpointReference
    Modifier and Type | Method and Description
    --- | ---
    `<T extends EndpointReference> T` | BindingProvider.`getEndpointReference(Class<T> clazz)` Returns the `EndpointReference` associated with this `BindingProvider` instance.
    `<T extends EndpointReference> T` | WebServiceContext.`getEndpointReference(Class<T> clazz, Element... referenceParameters)` Returns the `EndpointReference` associated with this endpoint.
    `abstract <T extends EndpointReference> T` | Endpoint.`getEndpointReference(Class<T> clazz, Element... referenceParameters)` Returns the `EndpointReference` associated with this `Endpoint` instance.

    Methods in javax.xml.ws that return EndpointReference
    Modifier and Type | Method and Description
    --- | ---
    `EndpointReference` | BindingProvider.`getEndpointReference()` Returns the `EndpointReference` associated with this `BindingProvider` instance.
    `EndpointReference` | WebServiceContext.`getEndpointReference(Element... referenceParameters)` Returns the `EndpointReference` for this endpoint.
    `abstract EndpointReference` | Endpoint.`getEndpointReference(Element... referenceParameters)` Returns the `EndpointReference` associated with this `Endpoint` instance.
    `static EndpointReference` | EndpointReference.`readFrom(Source eprInfoset)` Factory method to read an EndpointReference from the infoset contained in `eprInfoset`.

    Methods in javax.xml.ws with parameters of type EndpointReference
    Modifier and Type | Method and Description
    --- | ---
    `<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> T` | Service.`getPort(EndpointReference endpointReference, Class<T> serviceEndpointInterface, WebServiceFeature... features)` The `getPort` method returns a proxy.

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

    Methods in javax.xml.ws.spi that return EndpointReference
    Modifier and Type | Method and Description
    --- | ---
    `abstract EndpointReference` | Provider.`readEndpointReference(Source eprInfoset)` read an EndpointReference from the infoset contained in `eprInfoset`.

    Methods in javax.xml.ws.spi with parameters of type EndpointReference
    Modifier and Type | Method and Description
    --- | ---
    `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> 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.

  - ### Uses of EndpointReference in javax.xml.ws.wsaddressing

    Subclasses of EndpointReference in javax.xml.ws.wsaddressing
    Modifier and Type | Class and Description
    --- | ---
    `class` | `W3CEndpointReference` This class represents a W3C Addressing EndpointReferece which is a remote reference to a web service endpoint that supports the W3C WS-Addressing 1.0 - Core Recommendation.

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.