Working with the HTTP/Web Services Processes Group

Navigation:  How to Work with Processes >

Working with the HTTP/Web Services Processes Group

Previous pageReturn to chapter overviewNext page

 

Process Purpose

 

Web services allow access to software components through the HTTP standard protocol. The HTTP/Web Services group of processes enables the device to directly call REST compliant Web Services, SOAP compliant Web Services or any http url.

Most used methods are possible (GET, POST, etc). With this group of processes, it is possible to receive data in JSON and XML formats and to parse them into data files or local databases.

 

 

There is one recurring icon in these processes:

 

Click this icon (located on the upper right corner of the properties window) to setup a time out. See To Define a Time Out below.

 

 

To Define a Time Out

 

The setting of a timeout value allows you to define how long the device will wait to receive the confirmation that the operation is executed with success.

To setup a “Time Out” value:

a. Click on the upper right corner of the process's properties window to open a "Time Out" window.

 

 

b. Proceed as follows:

 

Time out (ms) – 0 for infinite time out

Time Out

Define the time out value in seconds.

Branch to

Abort Key

Select a keyboard key from the drop-down list, in case you need to abort the current operation before the defined timeout is executed.

 

c. After filling in the required options, click to conclude or to abort the operation.

 

 

The URL Assistant

 

When you click (available to the left of the "URL" text box),it opens the "URL Assistant" window.

 

Detail of URL Assistant

 

 

Fill in the following options:

 

Domain and Resource Path

Protocol

Select the protocol from the drop-down list or click and select a variable with that value. See Variable Definition.

User

Enter the user or click and select a variable with that value.

Password

Enter the password or click and select a variable with that value.

Domain:port

Enter the "domain:port" or click and select a variable with that value.

Resource Path

Enter the resource path or click and select a variable with that value.

Query String

Name column

Enter the query name(s) or click the corresponding and select a variable with that value.

Value column

Enter the query value(s) or click the corresponding and select a variable with that value.

Fragment ID

Enter the fragment ID or click and select a variable with that value.

 

Example

 

 

 

The HTTP/Web Services group includes the following processes:

 

----- Web Services

Working with REST/JSON Process

Working with REST/XML Process

Working with SOAP Process

----- HTTP

Working with Get file from URL Process

Working with HTTP Request Process