Skip to main content
SOAP connectors support sending SOAP messages to remote web services and retrieving the response.

Key Capabilities

  • Full SOAP web service client with WSDL import for automatic configuration
  • WS-Security support with message signing, encryption, and certificate management
  • Multiple authentication methods including HTTP, Token, and TLS client authentication
  • SOAP template generation through WSDL integration with the XML Map connector
  • Support for SOAP versions 1.1 and 1.2 with configurable security token formats

Overview

The input to a SOAP connector should be the full SOAP message to send to the web service. You can generate a template for the SOAP message by importing a WSDL for the target web service. Read the SOAP Templates section for details. The SOAP connector supports HTTP Authentication, Token Authentication, and TLS Client Authentication, and can add digital encryption and signatures to the outgoing SOAP message for web service security. After sending the SOAP request, the connector stores the response or passes it along to the next connector in the CData Arc flow.

Connector Configuration

This section contains all of the configurable connector properties.

Settings Tab

Partner Info

Settings for identifying the target web service.

WS-Security

Settings related to securing the web service transmissions.

Client Certificate

Settings related to the private local certificates.

Server Certificates

Settings related to the server’s public certificates.

Advanced Tab

Token Authentication

Settings related to token client authentication.

TLS Client Authentication

双方向TLS 認証が必要な場合のクライアント認証に関する設定です。

設定説明
Private CertificateTLS クライアント認証時に提示されるプライベート証明書です。
Certificate PasswordTLS クライアント証明書にアクセスするために必要なパスワードです。

HTTP Authentication

Settings related to HTTP client authentication.

Custom Headers

A set of custom headers to include as part of the outgoing message.

Advanced Settings

Settings not included in the previous categories.

Proxy Settings

これらは、接続のルーティング先となるプロキシを識別し認証するための一連の設定です。デフォルトでは、このセクションはSecurity Settings ページのProxy Settings 部分にあるグローバル設定を使用します。チェックボックスをオフにすると、コネクタ固有の設定を指定できます。

設定説明
Proxy Typeプロキシベースのファイアウォールで使用されるプロトコル。
Proxy Hostプロキシベースのファイアウォールの名前またはIP アドレス。
Proxy PortプロキシベースのファイアウォールのTCP ポート。
Proxy Userプロキシベースのファイアウォールで認証するために使用するユーザー名。
Proxy Passwordプロキシベースのファイアウォールで認証するために使用するパスワード。
Authentication SchemeデフォルトのNone のままにするか、次の認証スキームのいずれかを選択します:Basic、Digest、Proprietary、またはNTLM。

Logging

ログの作成と保存を制御する設定です。

設定説明
Log Levelコネクタが生成するログの詳細度です。サポートを依頼する際は、これをDebug に設定してください。
Log Subfolder Scheme選択した間隔に従って、コネクタがLogs フォルダ内のファイルをグループ化するよう指示します。Weekly オプション(デフォルト)は、コネクタが毎週新しいサブフォルダを作成し、その週のすべてのログをそのフォルダに保存するよう指示します。この設定を空白のままにすると、コネクタはすべてのログをLogs フォルダに直接保存します。多数のトランザクションを処理するコネクタでは、サブフォルダを使用することでログを整理しやすくなり、パフォーマンスが向上します。
Log Messages処理したファイルのログエントリにファイル自体のコピーを含めるには、これをオンにします。これを無効にすると、Transactions タブからファイルのコピーをダウンロードできなくなる場合があります。

Miscellaneous

Miscellaneous 設定は、特定のユースケース向けの設定です。

設定説明
Other Settings非表示のコネクタ設定をセミコロン区切りのリストで設定できます(例:setting1=value1;setting2=value2)。通常のコネクタのユースケースや機能では、これらの設定の使用は必要ありません。

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.

Performance

コネクタへのリソースの割り当てに関する設定です。

設定説明
Max Workersこのコネクタでファイルを処理するためにスレッドプールから消費されるワーカースレッドの最大数です。設定すると、Advanced Settings ページのPerformance Settings 部分にあるデフォルト設定が上書きされます。
Max Filesコネクタに割り当てられた各スレッドが送信するファイルの最大数です。設定すると、Advanced Settings ページのPerformance Settings 部分にあるデフォルト設定が上書きされます。

Alerts Tab

SLAs Tab

Establishing a Connection

The Service Endpoint and Service Action for the target web service are required to establish a connection. Some web services might require one or more security features for SOAP requests:
  • Encryption/Signing (WS-Security)
  • Client SSL Authentication
  • HTTP Authentication

SOAP Templates

The SOAP connector can simplify the process of generating SOAP requests through the use of a WSDL file and an XML Map connector that is connected to the SOAP connector in the flow. The WSDL file defines the appropriate XML structure for SOAP requests, and the XML Map connector can transform any XML structure into this target structure. After using the Import WSDL button to import the file, connect an XML Map connector to the SOAP connector (so that files processed by the XML Map connector are then sent to the SOAP connector). After saving these flow changes, the XML Map connector can dynamically read the WSDL XML and use it as a Destination File template. Then, upload any source XML structure as the Source File in the XML Map connector. After the Source File and Destination File are set in the XML Map connector, the visual designer is populated with the source and destination structures. Drag-and-drop elements from the source to the destination to map the relationship between the two XML structures. After the mapping is complete, files that match the Source File are automatically converted into SOAP requests by the XML Map connector.

Response Event

レスポンスイベントを使用して、サーバーから受信したレスポンス(ボディ、ヘッダー、クッキーなどを含む)とやり取りし、コネクタが生成するアウトプットメッセージを強化できます。Response イベントでは、次の特別なアイテムを使用できます。

Response Event Example

This script reads the XML response received from the server, parses out the access token contained in the XML, and adds it as a header onto the output message created by the connector:
The following steps detail what happens:
  1. The body of the response sent by the server back to the connector is accessed via _response.body and is set to the text attribute of the xmlDOMGet operation. Other attributes of xmlDOMGet are also populated, such as the map attribute with the XPath to the desired token in the response body.
  2. The xmlDOMGet operation is called. If the token is found in the response XML body, it is added as a message header to the output message of the connector via the _message.header:access_token syntax. If the token is not found, the value of the access_token header is set to a static string: Token not found!.
This type of script is useful when you need to parse data from the raw XML response body received back from a server after a request is sent to it. The header can then be read and used in subsequent connectors in the flow.
If the server responds using JSON, you can achieve the same result using jsonDOMGet.

Macros

Examples