Response Property Page (Web Service Integration) |
Use the Response property page to configure settings that direct the Integration Service to send a response for your integration.
Response
Send response to client: Specifies that a response is sent to the client.
Wait for actions to complete before sending response to client: Specifies that the response is not sent to the client until the integration actions are completed.
The HTTP response status code that is returned when an action fails: Specifies the three-digit HTTP response status code that you want to be returned if an action fails. The default value is 200.
Content-type: Specifies the data format that is used to send the response.
Source: Specifies the source for the data that is to be used for the response, as follows:
Value: Use this input box to enter the data that you want the integration to use for the response. Alternatively, you can add a variable or add a special character to the value that you enter.
Import: Click this option to open the Open File dialog so that you can browse to and select a file that contains the data that you want. The contents of the file are imported into the Value input box.
Export: Click this option to open the Save File dialog so that you can save the contents of the Value input box as an external file. You can save the value as a new file or replace the contents of an existing file.
Variable
Variable: Enter the variable that you want to use for the response source. Alternatively, expand the list and then click a recently used variable or click More Variables to add a variable.
External File
Location: Specifies the file system where the source file resides that you want to use for the response. File systems or locations can include a path that is relative to the folder that contains the integration file, a temporary storage folder, local file systems or network shares, Librarian, or a supported cloud storage location. For more information about supported cloud storage locations, refer to the Administration Console
File Name: You can enter the folder location and file name or click Browse to locate and then select the file that you want (the Browse option is not available when Location is set to Relative to Integration or Temporary Storage). Alternatively, you can add a variable to specify the file that you want or add a special character to the value that you enter.
File Encoding: Specifies the encoding that is used by the source file.
Action Summary: Specifies that the action summary is used as the response source. The data format of the action summary is either JSON or XML, depending on the value of the Content-type field.
Response Header
By using the Name and Value input boxes in the table, you can specify custom response header properties (name/value pairs) to be returned in the response.
Related Topics