Lookup one endpoint on the Service Locator server - 7.3

Talend ESB Infrastructure Services Configuration Guide

Version
7.3
Language
English
Product
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend ESB
Talend Runtime
Content
Design and Development
Installation and Upgrade
Last publication date
2023-12-26

Lookup one endpoint for a given service.

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

Return: one WS-Addressing EPR, for an endpoint that provides the service and fulfills the required properties. If several endpoints match select one randomly. If none exists return WebApplicationException and status 404.

The Lookup one endpoint for given Service operation is described in LocatorService.wadl as follows:

<resource path="endpoint/{serviceName}">
  <method name="GET" id="lookupEndpoint">
    <request>
      <param name="serviceName" type="xsd:string" style="template"
          required="true" />
      <param name="param" type="xsd:string" style="matrix"
          repeating="true" />
    </request>
    <response status="200">
      <representation mediaType="application/xml" 
          element="wsa:EndpointReference"/>
      <representation mediaType="application/json" 
          element="wsa:EndpointReference"/>
    </response>
  </method>
</resource>

Example of request url with GET method: locator/endpoint/{namespaceURI}localPart?p=key1,value1;p=key2,value2;p=key3,value3. Note that any / in the namespaceURI has to be replaced with %2F, and that { and } that wraps the namespaceURI need to be replaced by %7B and %7D.