Custom Service Methods
- Updated on 05 Mar 2019
- 1 minute to read
In Decisions, custom service methods are created form the properties tab inside the flow designer. The Service Method created provides a unique method of integration that provides a (WSDL) roadmap that points web services to Decisions. Below is an example of how to start building custom web services from a flow.
Creating a Custom Service Method is configured in a Flow. First Create a new flow or open an existing flow and navigate to the properties tab on the right side. First, locate the Settings section in theProperties Tab. Under Service, Settings check the box next to Create Service. This will turn on the Service Method setting. Name theService Name and the Main Method Name .
Save the flow and the Service Name will now be located in the All Services Folder inDecisions Account Managment.
A message will display in the right corner with an alert confirming that the services and data types are now available.
Next, locate the All Services Folder to locate the new Service Method. In the folder tree navigate toSytem> Administration> Features> All Services.
Inside theAll Services folder, a list of out of the box web services are available. Locate DecisoinsAccountManagement and select to view the action menu. ChooseView Integration Details to see the newly created Service Method. Choose View WSDL to view all of the code generated for the new service method.
The View Integration Details will display all of the Method Names associated with Decisions Account Management. Below the newly created Method Service is displayed in the list.
View WSDL to view all of the code generated for the new service method will display as seen in the image below (Figure 6).