











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?
- (jloge@ebsco.com)
- (paul.fenton@vertex.co.uk)
- Andrey Nazarov (andrey.nazarov)
- chris robson (chris.robson)
- Deepa Tekumalla (deepa.tekumalla)
- Guerman Smirnov (guerman.smirnov)
- Leo Lee (LeoLee)
- Manesh Nagar (manesh)
- manindra mallick (manindra.mallick)
- Milos Vacek (milos.vacek)
- Oleg Pozdnyakov (o.pozdnyakov)
- Ravinderjit Singh (ravinderjit.singh)
- Sirswendu Ganapati (sirswendu.ganapati)
- Talita Pezzi (talita.pezzi)
- Tamara Dobrynina (tamara.dobrynina)
- Teo Bon (teo.bon)
- Wael Soliman (wael.soliman)
Samples-5.1
Call Database Using Axis2 Call Database Using Axis2
calldatabaseusingaxis2 14/02/2008,23:41 215.98 Kb
Description:
This use case illustrates the functionality of calling database
operation by invoking wsdl created in axis2.
The 4 database
operations invoked in this process are:
Insert, Delete, Search and
SearchAll
In this process user needs to choose among the given
operations which he needs to perform and provide relevant inputs
accordingly so as to get output for his query.
Use case dependencies:
- Option.xform
- Option.xform.xsd
- Response.xform
- Response.xform.xsd
- ResponseAll.xform
- ResponseAll.xform.xsd
- ResponseSearch.xform
- ResponseSearch.xform.xsd
Requirements:
- Intalio|BPMS Server-5.1.1
- Intalio|BPMS Designer-5.1.1
- DatabaseQueryServiceWS.aar
- DatabaseQueryServiceWS.wsdl
- test.xsl
- test1.xsl
- Axis2 version 1.3
- JdbcConnection.txt[connection properties file]
- mysql-connector-java-3[1].1.8-bin.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 ‘CallDatabaseusingAxis2.zip’.
- Go to File > Import...
- In Import wizard, select 'Existing Projects into Workspace', click on Next >
- Select the "Select archive file" radio button.
- Browse to select the downloaded archive file.
- Click on Finish.
- Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.
Work Scenario in the Axis 2:
To upload “DatabaseQueryServiceWS.aar” in the Axis2:
-
Make sure Intalio-bpms server is already started.
-
Open a web browser, provide url as: http://localhost:8080/axis2/.
-
Click on the “Administration” link.
-
Login with the following credentials:
username: ‘admin’ (without quotes).
password: ‘axis2’ (without quotes). -
Click on link to “Upload Service” to upload.
-
Browse to location of “DatabaseQueryServiceWS.aar” to “Upload a AxisService Archive File “ page.
-
Now click on Available Services link and refresh the webpage
Note: You will see the list of the available services. -
Verify that “DatabaseQueryServiceWS” is present there.
-
Click on the “DatabaseQueryServiceWS” it displays respective wsdl file.
Note: This wsdl displays users Ip address in place of localhost in soap address location.you need to save this wsdl file on your system and you need to use in place of existing wsdl.
Configurations:
- Copy and Paste “JdbcConnection.txt” file in intalio-bpms-server-5.1.1\bin.
- Copy and Paste"mysql-connector-java-3[1].1.8-bin.jar" in
1. [Java]\jdk1.5\jre\lib\ext.
2. [intalio-bpms-server-5.1.1]\repository\com\intalio\bpms\axis2-services\1.1.1\axis2-services-1.1.1.war\WEB-INF\lib.
3. [intalio-bpms-server-5.1.1]\repository\com\intalio\bpms\pxe\5.1.2\pxe-5.1.2.war\WEB-INF\lib.
- All you need to have a table with four fields (id,bookname,author,price) in MySQL-5.
mysql> create table book (id int auto_increment NOT NUll primary key,bookname varchar(15),author varchar(15),price varchar(5));
mysql> insert into book (bookname,author,price) values ("xxxx","xxxx","xxxx"); (please enter at least 1 rows)
- Restart the server if it’s already started so that all the configurations done can become effective next time you start the server.
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/ui-fw which takes to login screen for workflow UI.
- Login with the following credentials:
username: 'examples\ewilliams' (without quotes).
password: 'password' (without quotes). - Under Processes tab you should see "Call Database Operations" link, click it to view Option form
- The form generated displays:
Text Area where instructions are provided for the respective operations.
Text Input fields to input data.
Radio Button to select the operation user wants to perform. - Provide the pertinent inputs and click on Start process button to proceed.
