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"
      message="lps:InterruptedExceptionFault"/>
   <fault name="ServiceLocatorFault" message="lps:ServiceLocatorFault"/>
</operation>
<message name="lookupEndpointsInput">
   <part name="parameters" element="lpx:lookupEndpoints"/>
</message>
<message name="lookupEndpointsOutput">
   <part name="parameters" element="lpx:LookupEndpointsResponse"/>
</message>

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:sequence>
      <xsd:element name="serviceName" type="xsd:QName"/>
      <xsd:element name="matcherData" type="lpx:MatcherDataType" 
                   minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
</xsd:complexType>
<xsd:element name="LookupEndpointsResponse">
<xsd:complexType>
   <xsd:sequence>
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="return"
      		nillable="false" type="wsa:EndpointReferenceType"/>
   </xsd:sequence>
</xsd:complexType>
</xsd:element>

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 – please let us know!