After modelling the BPEL process, it can be deployed in the WSO2 BPS.
- In the Developer Studio, right-click on the "Servers" window. If it is not visible, select Window -> Show View -> Servers.
- In the "Servers" window, select New -> Server.
- The "New Server" window appears. From the List, expand the "WSO2" folder and select "WSO2 Carbon 4.0 based server" as shown below. Carbon 4.0 based server is selected here since BPS 3.0.0 is based on Carbon 4.0.2. If needed, specify the Server name here. In this example, we specify it as WSO2 BPS. Click "Next"
- Set the PRODUCT_HOME by clicking the "browse" button and selecting WSO2 Business Process Server home folder. Click "Finish" once done or "Next" if more settings of the server need to be configured such as the 'service port', 'web console port' etc.
- Once done, the WSO2 BPS will be added to Servers List as shown below.
- The next step is to deploy the carbon application in WSO2 BPS. Simply click on "WS_NumberAdderCarbon" project in "Project Explore" window and drag and drop it on Server. The server will be automatically started.
- If the server does not get started automatically, run the server by right-clicking on it and selecting "Start". In Console window, note the server process's log.
- WSO2 BPS login page will be opened automatically in the default web browser. Login using admin as username and admin as password.
Select "processes →list" menu from the "Main" menu. The "Deployed Processes" window opens with the "AdderProcess" deployed.
The "Process ID" is generated in the format
{"Process NameSpace"} ProcessName-VersionNo
. Click the Process ID.- The "Process Information" window appears with the details of the process. Click on the "Try It" link.
- A browser window opens to enter the required input parameters. Enter the values and click "Send" for the answer.
Alternatively, you can use the SOAP UI tool to test a business process. The SOAP UI application shows the request/response soap messages and is particularly helpful in error handling.