Using the Invoke Service Activity

Invoke Service Activity allows you to execute custom invoke operations on standard business objects available in SAP C4C instance.

Use this task to execute custom invoke operations in SAP C4C Core services.

To configure Invoke Service SAP C4C Core activity, complete the following steps:

  1. In an active orchestration, open the Activities tab and expand the SAP C4C Core folder contents.
  2. Drag the Invoke Service activity icon onto the orchestration. The Invoke Service Activity Checklist is displayed.
  3. In the Checklist, click Summary.
  4. Review the contents of the Activity Name field, and make the required changes.
  5. In the Checklist, click Pick Endpoint.
  6. Click Browse and use the Project Explorer dialog box to select the relevant SAP C4C Core endpoint.

Optional: You can create the endpoint by clicking New and specifying the required connection details. Click OK to save and use the endpoint for this configuration.

For more information, see Creating and editing a SAP C4C Core endpoint

  1. In the Checklist, click Configure.
  2. In the Configure section, there are following two options as below:
    1. Browse: Click on the Browse button and select the appropriate WSDL file from the local file system.
    2. Add URL: Click on Add URL button and in the pop-up displayed enter WSDL File Name and the WSDL URL (the path to select the WSDL) and click on Finish button. Please note that this feature will be used if the WSDL is hosted on a remote server. Do not provide the web service location URL in this field.
  3. Select any of the WSDL Operations displayed for the selected Service (if more than one Operation is displayed). If only one WSDL operation is displayed, select that particular operation.

Optional: You can refresh list of Operations displayed by clicking on Refresh button (present beside Browse option). If any modifications are found in the WSDL operations, request/ response schemas, the same will get updated accordingly.

The Refresh option for invoke service activity is for the updating the WSDL Operations for service selected by Add URL option only.

  1. In the Checklist, click Retry. Review the default settings and make the required changes. For more information, see specifying the retry options for SAP C4C Core activity.
  2. Click Map Inputs from the Checklist. The XML Schemas generated from the selected operation of the Invoke Service are displayed as nodes under the request input parameter in the To Activity panel.

The user name and password in the map inputs are populated based on the details provided in the endpoint screen.

  1. Create a map between the orchestration variables and the input parameter of the activity.

Values must be provided at run time for any mandatory elements of the input structure. A value can be provided by specifying a default value for element or by linking the element with an input node. During run time if no value is provided for a mandatory element, the activity throws an exception, which is reported by the Web Management Console. If a value is not provided at run time for an optional input parameter, no exception is thrown during run time.

  1. Select the Map Outputs in the Checklist. The XML Schema generated to hold the response of the activity is displayed as nodes under the response output parameter in the From Activity panel.
  2. Create a map between the output parameters and orchestration variables.

You have configured the Invoke Service activity.




Feedback | Notices


Timestamp icon Last updated: Tuesday, 27 September 2016


https://www.ibm.com/support/knowledgecenter/en/SS3LC4_7.5.3/com.ibm.wci.doc/SAP_C4C_using_the_invoke_service_activ.html