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 Certificate | TLS クライアント認証時に提示されるプライベート証明書です。 |
| Certificate Password | TLS クライアント証明書にアクセスするために必要なパスワードです。 |
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。 |
Message
Message 設定は、コネクタがメッセージを検索する方法と、処理後にメッセージを管理する方法を決定します。
Note: 以下の設定は非推奨となり、デフォルトで非表示になっています。以前に有効化またはデフォルト以外の値に設定されていたコネクタにのみ表示されます。処理済みファイルのコピーを保持するには、フロー内のコネクタを右クリックし、成功パスを表示を選択して、成功パスをFile コネクタに接続してください。
| 設定 | 説明 |
|---|---|
| Sent フォルダに保存(非推奨) | コネクタが処理したファイルをSent フォルダにコピーします。デフォルトで無効です。Sent フォルダに保存されたファイルは保存データの暗号化の対象外です。 |
| Sent フォルダのスキーム(非推奨) | 選択した時間間隔でSent フォルダ内のファイルをグループ化します。Sent フォルダに保存が有効な場合のみ適用されます。 |
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 body of the response sent by the server back to the connector is accessed via
_response.bodyand is set to the text attribute of the xmlDOMGet operation. Other attributes of xmlDOMGet are also populated, such as themapattribute with the XPath to the desired token in the response body. -
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_tokensyntax. If the token is not found, the value of theaccess_tokenheader is set to a static string: Token not found!.
