Skip to main content

SAP Data Services Connector configuration

What is it?​

The Connector.config file tells the SAP Data Services Connector where to send web service calls and where to find the WSDL that describes those calls. It is a plain text INI-style file with two sections: [CONNECTOR] and [DATA SERVICES]. After you install the connector, you must edit this file before any SAP Data Services job will run.

Before you start​

Make sure the following are in place before editing the file:

  • The connector is installed at <OpConxps>\SAPDataServices. See SAP Data Services Connector installation.
  • You know the address (host and port) of the SAP Data Services web server.
  • You know whether your SAP Data Services installation uses the default web services endpoint (/DataServices/servlet/webservices?ver=2.1) or a custom one.

Configure the file​

To configure the connector, complete the following steps:

  1. Open Connector.config in the connector installation directory in a text editor.

  2. In the [CONNECTOR] section, leave CONNECTOR_NAME as delivered. The connector reads it at startup and it has no effect on behaviour, so there is nothing to gain by changing it.

  3. In the [CONNECTOR] section, set DEBUG:

    ValueWhen to use
    OFFNormal operation.
    ONOnly when requested to capture an error condition.
    caution

    DEBUG has no default. The connector fails to load its configuration if the setting is missing, so set it to OFF rather than removing the line.

  4. In the [DATA SERVICES] section, set DATA_SERVICES_SERVER_ADDRESS to the address of the web server hosting the SAP Data Services web service (for example, http://VM-SAP-DS:8080). This value overrides the web server address in the supplied WSDL.

  5. In the [DATA SERVICES] section, set DATA_SERVICES_WEB_SERVICES_ENDPOINT. Use the default value /DataServices/servlet/webservices?ver=2.1 unless the endpoint was changed during the SAP Data Services installation.

  6. In the [DATA SERVICES] section, leave DATA_SERVICES_WSDL_LOCATION unchanged. This value should not be changed.

  7. Save the file.

Connector.config is now ready for the connector to use on the next job run.

File template​

The empty file has the following structure:

[CONNECTOR]
CONNECTOR_NAME=
DEBUG=

[DATA SERVICES]
DATA_SERVICES_SERVER_ADDRESS=
DATA_SERVICES_WEB_SERVICES_ENDPOINT=
DATA_SERVICES_WSDL_LOCATION=

Settings reference​

[CONNECTOR] section​

SettingDescriptionDefaultNotes
CONNECTOR_NAMEA label for the connector. It is read at startup and has no effect on behaviour.(delivered value)Required — the connector fails to load its configuration if this setting is absent, so leave the line in place.
DEBUGConnector debug mode. Values are ON or OFF.—Required — the connector fails to load its configuration if this setting is absent, so set it to OFF rather than removing the line. Set it to ON only when requested to capture an error condition.

[DATA SERVICES] section​

SettingDescriptionDefaultNotes
DATA_SERVICES_SERVER_ADDRESSAddress of the web server that hosts the SAP Data Services web service.(none)The value here overrides the web server address in the supplied WSDL.
DATA_SERVICES_WEB_SERVICES_ENDPOINTEndpoint for the SAP Data Services web services./DataServices/servlet/webservices?ver=2.1Use the default unless the endpoint was changed during the SAP Data Services installation.
DATA_SERVICES_WSDL_LOCATIONLocation of BODS_WSDL.wsdl relative to the connector installation directory.wsdl/BODS_WSDL.wsdlDo not change.

Example​

:::tip Example A typical Connector.config:

[CONNECTOR]
CONNECTOR_NAME=SAP Data Services Connector
DEBUG=ON

[DATA SERVICES]
DATA_SERVICES_SERVER_ADDRESS=http://VM-SAP-DS:8080
DATA_SERVICES_WEB_SERVICES_ENDPOINT=/DataServices/servlet/webservices?ver=2.1
DATA_SERVICES_WSDL_LOCATION=wsdl/BODS_WSDL.wsdl

:::

Next steps​

After the file is saved, continue with:

FAQs​

When should I enable DEBUG? Enable DEBUG (ON) only when requested to capture an error condition. The connector should otherwise run with DEBUG disabled (OFF).

Do I need to change the WSDL location? No. DATA_SERVICES_WSDL_LOCATION should not be changed.

What if my Data Services installation uses a different endpoint? The default /DataServices/servlet/webservices?ver=2.1 should be used unless the endpoint has been changed during the SAP Data Services installation. If it has, enter the customized endpoint value in DATA_SERVICES_WEB_SERVICES_ENDPOINT.

Why does DATA_SERVICES_SERVER_ADDRESS need to be set if it's already in the WSDL? The value in Connector.config overrides the address that ships in BODS_WSDL.wsdl. Setting it here means you do not have to edit the WSDL when the SAP Data Services host or port changes.

How do I verify the configuration works? Define a job with the PING job type and run it. PING tests the communications link between the connector and the SAP Data Services environment without running a batch job.

Glossary​

Connector.config — The configuration file for the SAP Data Services Connector. Renamed from Agent.config in version 21.

Endpoint — The URL path on the Data Services web server where the connector sends web service requests.

WSDL — Web Services Description Language file. The connector uses BODS_WSDL.wsdl to define the web service operations it can call against SAP Data Services.

PING job type — A connector job type that has no parameters and is used to test the communication path between the connector and SAP Data Services.