Web Service Overview

mondCloud provides a browser based wizard for defining web services. Using the wizard, web service definition is simplified into a 6 step process which does not require knowledge of WSDL and coding. Once the Web Service is defined, you can generate the documentation for the web service and its operations by the click of a button.

Define Web Service

  • Login to mondCloud BPM.
  • Navigate to Wizards -> Web Service Page
  • Click New Web Service.
  • In the Web Service Name field, enter a name for the web service. There should not be any spaces in the web service name.
  • In the Version field, enter a version number. You can use the version number to trace and control the change history of the web service.
  • In the Description field, enter a brief description for the web service. The documentation generated for the web service will contain the description and hence it is only appropriate to mention a lucid description of the web service.
  • Click Next.
  • Click New Operation.
  • In the Web Service Operation field, enter a name for the web service operation. There should not be any spaces in the web service operation name.
  • In the Description field, enter a brief description for the web service operation. The documentation generated for the web service will contain the description and hence it is only appropriate to mention a lucid description of the web service operation.
  • Click Next.
  • Select the first row in the input parameter table..
  • Click Edit  icon in the bottom of the table. The selected row will become editable.
  • Select the data type of the input parameter. In addition to the standard data types such as string, date, etc. all the classes defined will be displayed in the dropdown. You can also select a class as the input parameter. When a class is selected as input parameter, all the elements of the class can be used as input for the web service.
  • Click Save icon in the bottom of the table.
  • You can also add more input parameters for the web service operation using the Add  icon at the bottom of the table.
  • Click Next.
  • Select the first row in the output parameter table.
  • Click Edit icon in the bottom of the table. The selected row will become editable.
  • Select the data type of the output parameter. In addition to the standard data types such as string, date, etc. all the classes defined will be displayed in the dropdown. You can also select a class as the output parameter. When a class is selected as output parameter, all the elements of the class can be used as output for the web service.
  • Click Save icon in the bottom of the table.
  • You can also add more output parameters for the web service operation using the Add icon at the bottom of the table.
  • Click Next.
  • In the Project field, select a project where the web service implementation map will be created.
  • In the Map field, select New Map in order to define a new implementation map.
  • In the Map Name field, enter the name of the implementation map. You will not be allowed to enter the same name as the names of the maps existing.
  • Click Next.
  • Click Save & Publish. Upon successfully publishing the web service, the WSDL URL will be displayed. You can click on the URL to download the WSDL.
  • Upon successfully publishing the web service, the WSDL URL will be displayed. You can click on the URL to download the WSDL.

Define Web Service Implementation

Implementation of web wervice can be done without writing Java code. mondCloud Integration Development Console provides a service development interface which can be used by business analysts to develop service logic using a standard web browser.

  • Login to mondCloud™.
  • Navigate to the Build Tab.
  • In the left navigation menu, navigate to Web Service/Rest -> Web Service Page.
  • You will notice that the web service defined using the Wizard will appear in the Web Service list.
  • Select the web service in the Service List and navigate to Service Operation tab in the RHS grid.
  • You will notice that the web service operation defined using the Wizard will appear in the Web Service Operation List.
  • Select the web service operation in the Operation List and you will notice the input and output parameters defined for the operation appear.
  • In the left navigation menu, navigate to Services -> Projects Page.
  • In the Projects list, click on the project under which you defined the implementation service while defining the web service using the Wizard. You will notice in the list of maps, that the map defined for the web service implementation appears.
  • Select the map by clicking the Select check box against the map.
  • Click Input/Output button on the top of the mapping list grid. The mapping input / output window will open.
  • Close the input / output window.
  • In the mapping list grid, click the service name hyperlink. A new window will open for developing the implementation logic of the service.
  • Create the implementation logic. You may refer mondCloud Mapping Operators Guide to understand the different operators available for service development and their usage.
Your Message to mondCloud
Optional Information That Helps Us Process Your Request Faster