Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In Developer Studio, right-click on the "Servers" window and select New -> Server. If it is not visible, select Window -> Show View -> Servers.
  2. The New Server window appears. From the list, expand the WSO2 folder and select WSO2 Carbon 4.4 based server as shown below. Carbon 4.4 based server is selected here since BPS 3.5.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.
  3. Set the CARBON_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.
  4. Once done, WSO2 BPS is added to Servers List as shown below.
  5. The next step is to deploy the carbon application in WSO2 BPS. Simply click on "Go to WSO2 BPS Server>Add and Remove and select the WS_NumberAdderCarbon " project in "Project Explore" window and drag and drop it on Server.  The server will be automatically started.
  6. 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. 
  7. WSO2 BPS login page will be opened automatically in the default web browser. Login using admin as username and admin as password.
  8. Select "processes →list Processes >BPEL>List" menu from the "Main" menu. The "Deployed Processes" window opens with the "AdderProcess" deployed.

    Info

    The "Process ID" is generated in the format {"Process NameSpace"} ProcessName-VersionNo. Click the Process ID.

  9. The "Process Information" window appears with the details of the process. Click on the "Try It" link. 
  10. A browser window opens to enter the required input parameters. Enter the values and click "Send" for the answer.
Info

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.

...