Skip to main content

Lookup all endpoints on the Service Locator server

Lookup all endpoints for the given service which has been 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 fulfill the required properties. If none exists return WebApplicationException and status 404.

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

<resource path="endpoints/{serviceName}">
  <method name="GET" id="lookupEndpoints">
      <param name="serviceName" type="xsd:string" style="template"
          required="true" />
      <param name="param" type="xsd:string" style="matrix"
          repeating="true" />
    <response status="200">
       <representation mediaType="application/xml"
          element="ns:EndpointReferenceList" />
      <representation mediaType="application/json"
          element="ns:EndpointReferenceList" />

Example of request url with GET method: locator/endpoints/{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. For example, http://localhost:8040/services/ServiceLocatorRestService/locator/endpoint/

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!