Read from Network Socket |
The Read from Network Socket action directs the Integration Service to read from a network socket for incoming data.
You can configure the following properties for the Read from Network Socket action:
Action
Name: Specifies the name of the action. If desired, you can replace the default name by typing a new name in the field.
Description: Allows you to save a description for the action.
Run Action: Allows you to specify how often you want to run the action.
Always: Specifies that the Integration Service will run the action each time it runs the integration.
Never: Specifies that the Integration Service will not run the action when it runs the integration.
Conditionally, based on variable: Specifies that the Integration Service will run the action only when a selected variable meets a specified condition. Use this option in situations where there is only one condition that determines whether or not the action will run. Once you have enabled this option, you can create the conditional statement in the input box provided.
Conditionally, based on expression: Specifies the conditions under which the Integration Service will run the action. Use this option for situations that require more than one conditional statement. Once you have enabled this option, you can create the conditional expression in the input box provided by creating the desired conditional statements. You create and edit your conditional expression on the Tree View tab. Click the Text View tab to see a read-only text view of the conditional expression.
Network Socket
Read data from the original inbound integration connection: Specifies that the data is read from the same socket connection as the one that is specified by the parent network socket integration. Available only when the parent integration is a network socket integration.
Read with new connection: Specifies that the data is read from a new socket connection. When the Read with new connection option is selected or when the parent integration method is something other than a network socket integration, you can define the network socket connection from which to read the data by using the following options:
Protocol: Specifies the socket protocol to use.
Port: Specifies the network address port.
Listen on all network interfaces: When enabled, the socket listens to all network addresses.
Listen on specific IP address (v4/v6): When enabled, the socket listens to only the IP address that you specify.
Communication Settings
Read Timeout: Specifies the amount of time to wait for the socket to read data.
Write Timeout: Specifies the amount of time to wait for the socket to write data.
Connection Protocol
Send acknowledgement message when client connects: Specifies the message that is sent when the socket connection is made. Enter the message that you want in the input box. Alternatively, you can add a variable to specify the acknowledgment message. You can also add a special character to the value you have entered.
Write response message after reading data from the client connection: Specifies the message that is sent after the action runs. Enter the message that you want in the input box. Alternatively, you can add a variable to specify the response message. You can also add a special character to the value you have entered.
Data Options
Encoding: Specifies the method used to encode the message that is being read.
Stop Reading When: Specifies when the Integration Service stops reading the message.
Sequence of Characters is Received: Directs the Integration Service to stop reading the message after a specific sequence of characters has been received.
Characters: Specifies the sequence of characters that tells the Integration Service to stop reading the message.
Include sequence in input data contents: Specifies that the indicated sequence of characters are read as part of the data contents.
Number of Characters is Received: Directs the Integration Service to stop reading the message after a specific number of characters has been received.
Characters: Specifies the maximum number of characters that the Integration Service will accept in the message.
Port Becomes Idle: Directs the Integration Service to stop reading the message after the port is idle for a specified period of time.
Time to Wait: Specifies the amount of time the port can be idle before the Integration Service stops reading the message.
Socket is Disconnected: Directs the Integration Service to stop reading the message when the socket becomes disconnected.
Content Type: The data contents type. The Integration Service processes the contents of the message as per this format.
Data is contained in a SOAP message: When enabled, the Integration Service expects the data to be contained in a SOAP message.
Response
Respond using new connection: When enabled, directs the Integration Service to respond using the new, specified connection.
Host Name: When enabled, allows you to specify the DNS name of the remote host to which you want to connect.
IP Address (v4/v6): When enabled, allows you to specify the IP address for the connection.
Port: Specifies the network address port.
Output
Save input data to variable: Specifies the variable to which you want to save the input of the action. Enter the desired variable. Alternatively, you can add a variable.
Test Read from Network Socket
Test: Runs the action. The Message pane displays information on the success or failure of the action.
|
Clicking the Test button executes the action only and does not run the integration. Therefore the action will run without any data from the integration that you may have configured it to use. For information on testing your integration, refer to Using the Test Pane. |
User Account
Inherit from parent action: When enabled, the action inherits the user account credentials specified on the Actions property page. Alternatively, if the action is part of a Group action, it will inherit the user account credentials specified on the immediate parent Group action’s property page.
Specify user credentials: When enabled, the action runs using the credentials specified.
Error Handling and Diagnostics
Ignore errors and continue running actions: When enabled, specifies that if the action fails, the remaining actions will continue to run.
|
When this property is not enabled and the action fails, the resulting behavior depends on the following scenarios:
If the selected action is within a Group action, no actions outside of that Group action are affected. |
Retry if failed: When enabled, specifies that if the action fails, the Integration Service will try to run it again.
Maximum retries: Specifies the maximum number of times the Integration Service will try to run the action again. Available when Retry if failed is enabled.
Retry interval: Specifies the amount of time the Integration Service will wait after the action has failed before trying to run the action again. Available when Retry if failed is enabled.