Skip to main content

Look up all endpoints for a given service

Lookup all endpoints for a specific service presently registered on the Service Locator server.

Parameters: fully qualified service name, required user defined properties (optional).

Return: list of WS-Addressing EPR's, for all endpoints that provide the service and fullfil the required properties. If none exists return a business fault.

The Lookup all endpoints for given Service operation is described in LocatorService.wsdl as follows:

<operation name="lookupEndpoints">
   <input message="lps:lookupEndpointsInput"/>
   <output message="lps:lookupEndpointsOutput"/>
   <fault name="InterruptedExceptionFault"
   <fault name="ServiceLocatorFault" message="lps:ServiceLocatorFault"/>
<message name="lookupEndpointsInput">
   <part name="parameters" element="lpx:lookupEndpoints"/>
<message name="lookupEndpointsOutput">
   <part name="parameters" element="lpx:LookupEndpointsResponse"/>

The related message type definition is separately described in locator-soap-types.xsd and locator-common-types.xsd as follows:

<xsd:complexType name="lookupRequestType">
      <xsd:element name="serviceName" type="xsd:QName"/>
      <xsd:element name="matcherData" type="lpx:MatcherDataType" 
                   minOccurs="0" maxOccurs="1"/>
<xsd:element name="LookupEndpointsResponse">
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="return"
      		nillable="false" type="wsa:EndpointReferenceType"/>

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!