Communication Variables

Create a communication variable such as an HTTP request to interact with a Web service.

For instructions on how to create a complex variable, see here.

HTTP Request

(Available from version 7.0 onwards.)

Create and send an HTTP request to a Web service using an HTTP request variable.

To send an HTTP request to a Web server:

  1. Define the HTTP request by creating an HTTP Request variable and then setting the values of its properties.

    Not all properties are relevant to all requests. Specify only those required by the relevant Web service.

  2. Define additional headers using the Add Header (and Remove Header) methods.

  3. Send the request using the Post Request or Post Request Asynchronously method.

  4. Read the response written to the XML Response property.

Properties

Methods

Events

The events of HTTP Request library are listed below:

Events Description
Async Callback

This event is raised when the execution of Post Request Asynchronously is completed.

This event has one parameter:

  • Response (text)

(Available from version 7.2)

Exception

This event is raised when an HTTP request gets an exception, after the request is sent to the server.

This event has one parameter:

  • Message (text)

Example