Previous Topic: Inline Code StatementNext Topic: Add Conditional Actions


Call External Statement

Add Call External statements in an action diagram to work with web services. This statement helps you map the parameters of a web service with the views of an entity or work set of your application. You can create entity views on the fly and then map them to the parameters of the web service. You have the option of creating an internal work set whose attributes match the best possible Gen data types with the data types of the parameters.

The action diagram CALL EXTERNAL statement is used to call a web service interface in the following format:

CALL EXTERNAL <type of external call> <method name>

<type of external call>

Specifies the type of external call being made by the statement. One of the types of external call being made is Web Service.

<method name>

Specifies the WSDL method name.

For example: The type of external call being made in the following example is Web Service and the method name is GetQuote:

-EXAMPLE_ACTION_BLOCK
| 	IMPORTS:
| 	EXPORTS:
|	LOCALS:
| 	ENTITY ACTIONS:
| CALL EXTERNAL Web Service “GetQuote”