











Signup for Training
- Atlanta, GA Dec 3-5
- Melbourne, AU, Dec 9-11
- New York Dec 10-12
- Brussels, BE, Dec 16-18
- Washington, DC, Dec 17-19
More trainings...
Intalio|BPMS Webinars
- Nov 20, 2008 1 PM EST
- Nov 21, 2008 1PM EST
- Nov 26, 2008 10 AM GMT
- Dec 5, 2008 10 AM PST
- Dec 9, 2008 1 PM EST
- Dec 11, 2008 1 PM EST
- Dec 19, 2008 10 AM PST
- Dec 30, 2008 10 AM PST
- Jan 13, 2009 10 AM PST
- Jan 15, 2009 1 PM EST
- Feb 3, 2009 10 AM PST
- Feb 12, 2009 1 PM EST
- Feb 17, 2009 10 AM PST
- Mar 10, 2009 10 AM PST
- Mar 12, 2009 1 PM EST
- Mar 24, 2009 10 AM PST
Login
Who's online?
- (paul.fenton@vertex.co.uk)
- (jloge@ebsco.com)
- Alexander Stuckenholz (alexander.stuckenholz)
- chris robson (chris.robson)
- Deepa Tekumalla (deepa.tekumalla)
- gianni naccio (gianni.naccio)
- Guerman Smirnov (guerman.smirnov)
- Ilo Rivero (ilo.rivero)
- Leonardo Saraiva (leonardo.saraiva)
- manindra mallick (manindra.mallick)
- Marcin Urbanski (marcin.urbanski)
- Milos Vacek (milos.vacek)
- nie pin (nie.pin)
- Oleg Pozdnyakov (o.pozdnyakov)
- Pavel Lekhanov (lehanov)
- Ravinderjit Singh (ravinderjit.singh)
- Sirswendu Ganapati (sirswendu.ganapati)
- Tamara Dobrynina (tamara.dobrynina)
- Teo Bon (teo.bon)
- Wael Soliman (wael.soliman)
MAIN
Samples-5.1
Multiple Database Call
Samples-5.1
Multiple Database Call Multiple Database Call
on Oct 22 2007
Last Updated ( Feb 06 2008 )
< Prev
Next >
multipledatabasecall 06/02/2008,06:08 33.16 Kb
Description:
This use case illustrates the functionality of calling database operation by invoking wsdls created using Jdbc connector available in Intalio|BPMS designer. In this process user needs to choose and check out among the four operations: details, insert, modify & delete which operation he needs to perform and get corresponding result for his query.
Use case dependencies:
- message.xsd
- testJDBC
- testJDBC.xsd
- details.prm
- details.sql
- insert.prm
- insert.sql
- modify.prm
- modify.sql
- delete.prm
- delete.sql
Requirements:
- Intalio|BPMS Server-5.1.1
- Intalio|BPMS Designer-5.1.1
- MySQL-5 database.
- mysql-connector-5.0.4.jar.
Preconditions:
- Make sure Intalio|BPMS Server is up and running fine.
- Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.
Process Download & Import:
- Download "multipledatabasecall.zip".
- Go to File > Import...
- Select 'Existing Projects into Workspace', in the wizard and click on Next >
- Browse to select the downloaded archive file.
- Click to Finish.
- Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.
Defining Configurations:
-
MySQL Database:
- All you need to have a table with four fields (empid, empName, designation and projectname) in MySQL-5.
- mysql> create table employee (empid varchar(10),empname varchar(25),designation varchar(25),projectname varchar(25));
- mysql> insert into employee values ("xxxx","xxxx","xxxx","xxxx"); (please enter at least 3 rows)
-
Designer:
- To configure jdbc connection:
- Refer to the reference guides>Intalio|BPMS Connector for JDBC
- Create a Database Connection with the name as testJDBC.
-
Server:
- Go to [intalio-bpms-server]\var\config\jdbc-connector and create a folder with name as testJDBC.
Note: The folder names should always be similar to the name given for Database Connections in designer - Create a "connection.properties" file and paste it into the testJDBC folders.
Note The file can be obtained form the link given above - Paste mysql-connector-5.0.4. jar file under [intalio-bpms-server]\repository\com\intalio\bpms\pxe\5.1.2\pxe-5.1.2.war\WEB-INF\lib
Note: You can obtain the jar file from [intalio-bpms-server]\repository\mysql\mysql-connector\5.0.4
Process Deployment & Execution:
- Click on Deploy Project to Intalio|BPMS Server button in tool bar.
- Make sure you select all runtime files while exporting to Intalio|BPMS Server.
- Click on Finish button.
- Open a web browser, provide url as: http://localhost:8080/bpms-console which takes to login screen for bpms-console.
- Login with the following credentials:
username: "admin" (without quotes).
password: "changeit" (without quotes). - In the processes list you should see "TestJDBCProcess:TestJDBCProcess" process with a package name "TestJDBCProcess", select it and click to Start.
- This should generate a form with four check box fields naming "details", "insert", "modify" and "delete".
- Check the checkbox for "details" and click to Invoke.
- Again a form generates with an input field to map input data.
- Type any employee name in "enterempname" field and then click on Submit button.
- This will replace the page with the details of that employee.
- Similarly, you can obtain results for other check boxes "insert", "modify", "delete".
