public abstract EndpointReference getEndpointReference (Element… referenceParameters)

Returns the EndpointReference associated with this Endpoint instance.

If the Binding for this bindingProvider is either SOAP1.1/HTTP or SOAP1.2/HTTP, then a W3CEndpointReference MUST be returned.

Parameters:
referenceParameters    Reference parameters to be associated with the returned EndpointReference instance.

Returns:  EndpointReference of this Endpoint instance. If the returned EndpointReference is of type W3CEndpointReference then it MUST contain the the specified referenceParameters.

Exceptions:
WebServiceException    If any error in the creation of the EndpointReference or if the Endpoint is not in the published state.
UnsupportedOperationException    If this BindingProvider uses the XML/HTTP binding.

See also:
W3CEndpointReference

Since:  JAX-WS 2.1