Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name to show on the script canvas. |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select a global resource. For how to set a global resource, please refer to "Global resource properties".
|
|
Path | Optional | Available | Specify the relative path from the URL entered in [URL] of [Destination]. |
|
Encoding | Optional | Available | Select or enter the encodes to use in URL Encoding.
Specify the encodes supported by Java SE Runtime Environment 8 when inputting. For details, please refer to "Supported Encodings"(http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html). |
|
Query parameters | Optional | - | Specify the name and the value of a parameter linking to the URL.
Each parameter can be operated with the following.
|
|
Query parameters/ Name | Optional | Available | Enter the name of a query parameter. |
|
Query parameters/ Value | Optional | Available | Enter the value of a query parameter. |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Data destination | Required | Not available | Select the destination of the response body.
|
|
Data type | Required | Not available | Select the data type of the response body.
|
|
File path | Required | Available | Select or enter the file path that outputs response body.
Click [Browse] button to activate the file Selectr and Select the file. |
|
Delete invalid XML characters | Optional | Not available | Select whether to delete invalid XML characters automatically if found any during analysis of JSON data.
|
|
Redirect automatically | Optional | Not available |
Select whether to redirect automatically if the redirecting destination is included in the response.
|
|
Errors occur when the status code of response is 4xx or 5xx | Optional | Not available |
Select whether to make the process an error if the status code of response is 4xx or 5xx.
|
Item name | Description | Remarks |
---|---|---|
Configure output schema from JSON file | Specify JSON file and set the schema of the output destination. | Displayed if you select [JSON] in [Data type]. |
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Request headers | Optional | - | Specify HTTP header to include in the request.
Each request header can be operated with the following.
|
|
Request headers/ Name | Optional | Available | Enter the request header name. |
|
Request headers/ Value | Optional | Available | Enter the request header value. | |
Response headers | Optional | - | Specify the header name to retrieve from the HTTP header included in the response.
Each response header can be operated with the following.
|
|
Response headers/Name | Optional | Only environmental variables are available. | Enter the response header name. |
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Authentication | Required | Not available | Select how to authenticate when sending requests.
|
|
User name | Optional | Available | Enter the user name to use on the authentication. |
|
Password | Optional | Available | Enter the password to use on authentication. |
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Mass data processing | Required | Not available | Select a data processing method.
|
Item name | Required/Optional | Use of variables | Description | Remarks |
---|---|---|---|---|
Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
<--In case the root is JSON object of object type--> <?xml version="1.0"?> <root type="object"> <JSON member name type="Attribute value showing JSON type">value</JSON member name> : </root> <-- In case the root is JSON object of array type--> <?xml version="1.0"?> <root type="array"> <element type="Attribute value showing JSON type">value</element> : </root> <-- In case the JSON member name is inappropriate as XML element name--> <?xml version="1.0"?> <root type="object"> <member type="Attribute value showing JSON type" name="JSON member name">value</member> : </root>
Element name | Attribute name | Description | Remarks | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
root | - | This is a root element that wraps JSON object. | ||||||||||||||
type | Specifies the attribute value that shows JSON type.
|
|||||||||||||||
JSON member name | - | This is the element that shows JSON member. | ||||||||||||||
type | Sets the attribute value that shows JSON type.
|
|||||||||||||||
element | - | This is an element name showing the array element. | ||||||||||||||
type | Character strings showing JSON type is output.
The same attribute value as JSON member name type attribute is set. |
|||||||||||||||
member | - | This is the element name when JSON member name is used inappropriate as XML element name. | ||||||||||||||
type | Character string that shows JSON type is output.
Set as the same attribute value with the type attribute of a JSON member name |
|||||||||||||||
name | JSON member name is output.
Ex: JSON member having inappropriate name as the XML element name. {"1name":"Suzuki"}JSON member in the above example is output with conversion into the XML data below. <member type="string" name="1name">Suzuki</member> |
<?xml version="1.0"?> <response> <body> <content>Response body data</content> </body> </response>
Element name | Attribute name | Description | Remarks |
---|---|---|---|
response | - | ||
body | - | ||
content | - | This is the data of the response body. |
Data differs depending on the Content-Type header value of the responses.
|
Component variable name | Description | Remarks |
---|---|---|
status_code | Stores HTTP status code of responses. |
|
reason_phrase | Stores the text phrase related to the HTTP status code of responses. |
|
error_response_body | Stores the response body in the case the response status code is "4xx" or "5xx". |
|
message_category | When errors occur, stores the message code category corresponding to the error. |
|
message_code | When errors occur, stores the codes of message code corresponding to the error. |
|
message_level | When errors occur, stores the message code severity corresponding to the error. |
|
error_type | When errors occur, stores the error type corresponding to the error. |
|
error_message | When errors occur, stores the error message. |
|
error_trace | When errors occur, stores the trace information of the error occurred. |
|
Exception name | Causes | Solution |
---|---|---|
ResourceNotFoundException Resource definition could not be found. Name:[] |
[Destination] is not specified. | Please specify [Destination] . |
ResourceNotFoundException Resource definition could not be found.Name: [<name of Global Resources>] |
Resource definition selected in [Destination] is not found. | Please check the global resource specified in [Destination] |
InvalidPropertyConfigurationException Required item of resource is not specified. :<Property name> |
[<Property name>] of [Destination] is not specified. | Please specify [<Property name>] in [Destination]. |
InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. | Specify [<Property name>]. |
FileIsDirectoryException | Path input in [File path] is directory. | Input file path in [File path]. |
PathIsNotAbsoluteException | Relative path is the path entered in [Path] or [File path]. | Enter the absolute path in [Path] or [File path]. |
RestServerException | Response with the status code "5xx" is returned from HTTP Server. | Please check the conditions of HTTP server and contents of request specified in [Destination] by referring to the contents of error messages. |
RestClientException | Response with the status code "4xx" is returned from HTTP Server. | Please check the entered path and the contents of request in [Path] by referring to the contents of error messages. |
org.apache.http.conn.HttpHostConnectException | Could not connect to HTTP server or Proxy server. | Please check whether connection is available to the destined HTTP server or Proxy server or not. |
org.apache.http.conn.ConnectTimeoutException | Connection timeout occurred when connecting with HTTP server or Proxy server. | Please check the setting of [Connection timeout] in [Destination]. |
java.net.SocketTimeoutException | After connecting to HTTP server, timout occurred during the reply of sending the request and receiving the response. | Please check the setting of [Receive timeout] in [Destination]. |
javax.json.stream.JsonParsingException | Error occurred during processing the response body as JSON format. | Please check the setting and the response contents of [Response settings] referring to the error message. |