Skip to main content

Accessing Service Locator operations via SOAP

The Service Locator SOAP Service component provides a way to access Service Locator operations via a SOAP interface, to:

To access the Service Locator instance operations via SOAP, you will need to extend the Service Locator by installing an additional proxy service component called the Service Locator SOAP service in the Talend Runtime Container. To do so, follow these steps:

  1. Type feature:install tesb-locator-soap-service in the Talend Runtime Container to enable the Service Locator service component.

  2. Type feature:install tesb-zookeeper-server in the Talend Runtime Container to enable the Service Locator server (ZooKeeper server) component.

  3. Type list in the Talend Runtime Container. You should see an output similar to:

    ID      State     Blueprint  Spring  Level  Name
    [ 189] [Active ] [        ] [     ] [  60]  Locator Service :: Common ()
    [ 190] [Active ] [        ] [     ] [  60]  Locator Service :: SOAP Service ()
    [ 191] [Active ] [        ] [     ] [  60]  ZooKeeper server control bundle (1.2)

    This output shows that the Service Locator service component and Service Locator server (ZooKeeper server) are enabled in the Talend Runtime Container.

Also the ZooKeeper server can be configured in the Talend Runtime Container by editing the container/etc/org.talend.esb.locator.server.cfg configuration file:

# The number of milliseconds of each tick
# The number of ticks that the initial
# synchronization phase can take
# The number of ticks that can pass between
# sending a request and getting an acknowledgment
# the directory where the snapshot is stored.
# the port at which the clients will connect
#Number of client connection (default = 10; unlimited = 0)
maxClientCnxns = 0
# Enable authentication in Locator Server
authentication = false

This configuration is the same as the Service Locator configuration, described in Alternative installation of the Service Locator.

To check that the service is working, access its WSDL at: http://localhost:8040/services/ServiceLocatorService?wsdl.

The WSDL file for the Service Locator SOAP Service can be found at: add-ons/locator/LocatorService.wsdl

The corresponding schema files with definitions of the types are:

  • add-ons/locator/locator-common-types.xsd

  • add-ons/locator/locator-soap-types.xsd

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!