If we plan to make our business service available to other developers, we should declare the methods it implements and their input and output arguments. This is not a technical necessity but it facilitates the work of developers because they can select method and argument names from pick lists in the workflow process or script editors.
The following procedure describes how to declare the getPersonInfo
method and its arguments:
1. Navigate to the AHA Info Service business service.
2. In the Object Explorer, expand the Business Service type and select the Business Service Method type.
3. In the Business Service Methods list, create a new record with the following properties:
Name:
getPersonInfo
Display Name - String Override:
Get Person Info
Comments:
Retrieves a person by Id and returns field values
4. In the Object Explorer, expand the Business Service Method type and select the Business Service Method Arg type.
5. In the Business Service Method...