Salesforce

WCF Client Resource (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

WCF Client Resource (Magic xpi 4.13)

WCF Client resources contain the following parameters (parameters in bold are mandatory):

Parameter

Description

Service URL

The WCF service's URL.

Endpoint URL

The Endpoint URL field allows the user to specify a different endpoint URL address while invoking a Web Service through the WCF Client Connector. If the value is provided for this field then address attribute of Endpoint definition (stored in client.configuration file) will be replaced with Endpoint URL value while executing WCF Client Connector step. The Endpoint URL can be mapped to a project specific environment variable.

(Since version: 4.9)

Credentials Type

The type of credentials for authenticating the WCF Client resource at runtime. Select one of the following from the drop-down list:

  • None (default)

  • UserName

  • HttpDigest

  • Windows

User Name

The user name for authenticating the WCF Client resource.

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

Password

The password for authenticating the WCF Client resource.

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

A password entered as an environment variable is masked by asterisks.

Domain

The domain used for authenticating the WCF Client resource.

This is available only if you select Windows in the Credentials Type parameter (above).

WCF Client resources also give you the following buttons:

Button

Description

Service Configuration

Click this button to invoke the Microsoft WCF Service Configuration Editor tool. The Microsoft WCF Service Configuration Editor tool is used to modify WCFClient\WCFClient_Resource\client.configuration file; where parameters like openTimeout, receiveTimeout, sendTimeout, maxBufferSize, maxReceivedMessageSize and proxyAddress could be set if/when required for any particular WCF service. Magic xpi searches for the Service Configuration Editor tool according to the value assigned to the Magic.ini file's SvcConfigEditor flag. If the Service Configuration Editor is not found in this location, Magic xpi will then try to locate it according to the value given to the Magic.ini file's SVCUtil flag.

Load Service

Click this button to generate schemas and configuration file based on the WSDL service. The schemas get generated for each contract and operations corresponding to the given contract. The schema files are generated for input, output and fault.

The configuration file client.config gets generated under <Project Folder>\WCFClient\<ResourceName> folder.

The schema files are generated at the following locations:

  • <Project Folder>\WCFClient\<ResourceName>\XSD\<contract name>\Fault\

  • <Project Folder>\WCFClient\<ResourceName>\XSD\<contract name>\<operation>\In\

  • <Project Folder>\WCFClient\<ResourceName>\XSD\<contract name>\<operation>\Out\

  • <Project Folder>\WCFClient\<ResourceName>\XSD\<contract name>\<operation>\Fault\ (Since version: 4.9)

Since version:

4.5

Reference
Attachment 
Attachment