Book Image

ADempiere 3.6 Cookbook

Book Image

ADempiere 3.6 Cookbook

Overview of this book

Table of Contents (16 chapters)
ADempiere 3.6 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface

Configuring a Web service to run a process


In this recipe, we would configure a Web service to run an ADempiere process using the generic API, runProcess. I have taken the SendMOMMail process as an example for demonstration purposes. You may refer to the Creating a process recipe in Chapter 3, ADempiere Customization Part II to understand the SendMOMMail process.

Getting ready

The SendMOMMail process must be created and configured.

How to do it...

  1. 1. Log in to ADempiere using GardenUser/GardenUser with the GardenWorld User role.

  2. 2. Go to the Web Service Security window.

  3. 3. Click on the New Record and enter the following, as shown in the next screenshot:

    • Search Key: SendMOMMail (choose your text)

    • Name: Send MOM Mail (choose your text)

    • Web Service: Model Oriented Web Services

    • Web Service Method: Run Process_Model Oriented Web Services

    • Table: C_mom_participantsline_MOM Participants

    • Description: <your description of service>

    • Comment/Help: <your text>

  1. 4. Go to Web Service...