Accessing Service Locator operations via SOAP - 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

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
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgment
syncLimit=5
# the directory where the snapshot is stored.
dataDir=${karaf.base}/zookeeper/data
# the port at which the clients will connect
clientPort=2181
#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