Call Web Method Activity

The Call Web Method activity allows you to call an external web service method that contains parameters defined as part of the workflow.

Important: The Call Web Method that was provided in earlier versions of Workflow is still available. You can continue to use it for your legacy web services; however, it is recommended that for all new web services configurations, you should use the Web Services Service Provider to add and configure web service definitions.
Two types of web services are supported:
  • WCF (Windows Communication Foundation) web service, where the endpoint or interface name is clearly defined in the WSDL (Web Services Description Language) file.
  • Conventional web services, where no endpoint or interface is defined in the WSDL file.

Web Method Details

The following table describes the web method details required to configure the Call Web Method activity:

AttributeValueDescription
WSDL URLUser-definedSpecifies the URL of the WSDL file that contains the web service you want to call.
Note: The URL must end with ?WSDL.
Interface/EndpointUser-defined alphanumeric string (A-Z, a-z, 0-9)Specifies the interface or endpoint the web service is monitoring.
Method NameUser-defined alphanumeric string (A-Z, a-z, 0-9)Specifies the name of the web method being called.

Input and Output Parameters

After you configure the web method details, configure the input parameters. When you assign an input value, you can bind it to a variable to ensure that the parameter receives the data of the correct data type.

The output parameter is the return value of the call method; therefore, you do not need to enter a value.

Important: Null values are not supported in a sequence of input parameters. For example, if three input parameters are required, the first and/or second parameters cannot be null. In this case, you can either use InputParam1 through InputParam3 for your input parameters, or you can use the Expression Editor to enter the numeral 0 or an empty string into the parameter field that you want to leave empty.