Invoke Web Services


Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator

The Invoke Web Services activity runs a web service with XML parameters you specify.

Before you configure the Invoke Web Services activity, you need to determine the following:

  • WSDL file of the web service

  • Web service method name

  • Input SOAP message body format

  • Output SOAP message body format

Use the following information to configure the Invoke Web Services activity.


SettingsConfiguration Instructions
WSDLType the path of the WSDL file or use the ellipsis (...) button to browse for the file.
MethodType the name of the method that you are invoking on the web service, or click the ellipsis button (...) and browse for it. Make sure that you match the casing of the method.
XML Request PayloadType the parameters that you are sending to the web service method. Make sure that the format matches what is described in the WSDL document.
Format HintClick this button to receive hints on formatting the XML job payload. Replace the placeholder values with your own.


SettingsConfiguration Instructions
SaveTo save the responses, select the Save check box and specify the folder where the responses will be saved.
URLTo specify the URL location of the web service, select the URL check box and type the URL location.
ValueSelect the SOAP protocol that the web service uses. The Value options include the following:

- SOAP 1.1
- SOAP 1.2


SettingsConfiguration Instructions
EnableSelect the Enable check box to enable HTTP authentication, and fill in the fields.
User nameType the user name to access the secured web service.
PasswordType the password to access the secured web service.

HTTPS certificate options

Orchestrator allows you to configure HTTPS certificate options in cases where certificate validation fails.

Use the following steps to configure HTTPS certificate options.

To configure HTTPS certificate options
  1. In the Runbook Designer, click the Options menu, and select Invoke Web Services to open the Invoke Web Services dialog box.

  2. Configure the settings on the Details tab. Configuration instructions are listed in the following table.


SettingsConfiguration Instructions
HTTPS OptionsSelect one of the following HTTPS Options:

- Accept all certificates
- Accept certificates from trusted hosts

Configuration instructions for each of the HTTPS Options are listed in the following tables.

Accept all certificates Details

SettingsConfiguration Instructions
Accept all certificatesAccepts certificates from all hosts.

After you select this HTTPS option, click Finish.

Accept certificates from trusted hosts Details

SettingsConfiguration Instructions
Accept certificates from trusted hostsSpecifies the hosts you want to accept the certificates from.

1. Click Add to open the Trusted Host dialog box.
2. Type the trusted host name in the Value box, and click OK. The host is then added to the list.

To edit hosts, click Edit.

To remove hosts, click Remove.

Published Data

The following table lists the published data items.

WSDL PathThe WSDL path.
Method NameThe name of the web method.
XML Job PayloadThe text of the XML job payload.
XML Response PayloadThe text of the XML response payload.
Response FileThe path and filename of the response.
Web Service URLThe URL of the web service.
Web Service protocolThe protocol that the web service uses.

Publishing web services

The Invoke Web Service object builds an assembly at C:\ProgramData\Microsoft System Center 2012\Orchestrator\Activities\WebServices2or C:\Users\USERNAME\AppData\Local\Microsoft System Center 2012\Orchestrator\Activities\WebServices2. The assembly is identified by the web service location. For example, http://localhost/TestService/DylanService.asmx?WSDL.

If you publish additional services, or update an existing service, you must clean the cache, except for the wspkey.snk file. After cleaning the cache, the web service changes are correctly published.