Look up all endpoints for a given service - 7.1

Talend ESB Infrastructure Services Configuration Guide

EnrichVersion
7.1
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
EnrichPlatform
Talend ESB
Talend Runtime
task
Design and Development
Installation and Upgrade

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>