WebServiceDataSource

Version: 9.0

You use the WebServiceDataSource component to call a web service and receive a response. You specify the following, either as static properties or in the code:

  • The URL of the web service

  • The namespace of the web service

  • The method that you want the component to call

  • Parameters for the method (optional)

The component calls the web service when you invoke the refresh method. The response (if any) is available as the response model member.

Note

The component does not change the response in any way. If you call a web service in another domain, the remote server must allow cross-domain calls.

Properties

Name

Description

Default

Behavior

HasResponse

The component sets this read-only property to True when the web service responds. You can retrieve the response from the “response” member.

Data

MethodName

Specify the name of the web service method that the component calls.

Namespace

Specify the namespace of the web service.

Parameters

Specify the parameters that the component passes on when it calls the web service.

Url

Specify the URL of the web service

State

IsBusy

The component sets this read-only property to True when it has called the web service but not yet received a response.

Configuration

You can create a configuration item for a WebServiceDataSource component by creating an item based on the WebServiceDataSource Parameters template.

The configuration item has these specific fields:

  • Url

  • MethodName

  • Parameters

  • Namespace

  • HasResponse

  • IsBusy

It inherits these fields:

  • IsVisible

  • AccessKey

  • Tooltip

  • Behaviors

  • Id

Do you have some feedback for us?

If you have suggestions for improving this article,