Sets the endpointName as
wsam:ServiceName/@EndpointName in the
wsa:Metadata element. This method can only be called
after the serviceName method has been called.
See 2.1 Referencing WSDL Metadata from an EPR for more details.
endpointName | The name of the endpoint to be targeted
by the returned W3CEndpointReference. The
endpointName (portName) property may also be
used with the serviceName property to lookup
the address of a web service
endpoint published by the same Java EE application. |
W3CEndpointReferenceBuilder instance with
the endpointName as
wsam:ServiceName/@EndpointName in the
wsa:Metadata element.
IllegalStateException, | if the serviceName
has not been set. | |
IllegalArgumentException, | if the endpointName's
Namespace URI doesn't match serviceName's Namespace URI |
Diagram: Endpoint