Salesforce

Web Services Client Resource (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Web Services Client Resource (Magic xpi 4.13)

To consume a Web service, you need to first define the Web service parameters in the Settings dialog box's Resources section. Later on, when you drag the Web Services utility to the flow area, you can configure this service to work with these parameters.

You can configure your Web Services Client resource by defining the following parameters (Parameters in bold are mandatory).

Parameter

Description

WSDL URL

The WSDL URL or file location. For example, http://localhost/AsymEncryptPolicyService/AsymEncryptService.asmx?WSDL.

You can enter the WSDL URL or file location manually. Alternatively, you can use environment variables in this parameter.

Service Endpoint URL

This field lets you control the service endpoint URL that the Web services step calls. For example, http://localhost/AsymEncryptPolicyService/AsymEncryptService.asmx

You can either enter the endpoint URL, or click to open the Environment Variables List. Here, you can select an environment variable to use as an endpoint URL.

Attachment Type

Determines which type of attachment to use. Select one of the following from the drop-down list:

  • Dime

  • Mime (default)

Here, a blank value indicates that no attachment needs to be sent with the Web Service invocation.

When there is no In or Out Attachment and yet the value of the Attachment Type is set to Dime or Mime, an error is thrown at runtime.

Timeout

The amount of time, in seconds, that a Web Services Client waits for the service response. If you leave this property blank, or set it to zero (0), the timeout will be infinite.

WSDL Port

A WSDL can have more than one port definition, each with its own set of operations and its own endpoint. In this parameter, enter the specific port that should be used for the WSDL loading process. If no port is specified, the first encountered port will be used for the load process. The default value is blank.

Migrated Resource

This field shows whether the project having the Web Services Client resource is migrated from an old version of Magic xpi.

If this field is not visible on migrating the project, reopen the project to see the field along with the updated resource.

Since version: 4.12

The Web Services Client resource also gives you the following buttons:

Button

Description

Load WSDL

Click this button to load WSDL or reload an existing one. If the WSDL fails to load, an error message appears.

Security

Click this button to open the Web Service Security Configuration dialog box.

(Since version: 4.12)

Reference
Attachment 
Attachment