











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)
Samples-5.1
User Task Form User Task Form
usertaskform 04/02/2008,06:36 14.23 Kb
Description:
This use case illustrates the process of accepting inputs from user interaction form in JSP apart from providing input through BPMS console. The JSP form takes three types of client request from the user. First it takes the input as "endpoint URL" second it takes input as "Service Name" from the generated WSDL and third it takes input (Number of inputs described in form). Which input data is submitting in the form, it will displays as output in another jsp page.
Use case dependencies:
- user.xsd->The schema used is "userForm" which is of "complex" type and has "FirstName","LastName", "Address1', "Address2', "Gender", "Designation","City","State","Mobile","Fax"as its sub-schemas.
- Java Bean: UI_01Client.java & UI_01Client.class
- JSP Files: UI_01CallClientUserTaskForm.jsp and UI_01ClientUserTaskForm.jsp.
Requirements:
- Intalio|BPMS Server-5.1.1
- Intalio|BPMS Designer-5.1.1
- UserTask.bpm (bpm file created for this project).
Process Download & Import:
- Download "UserTaskForm.zip".
- Go to File > Import...
- Select 'Existing Projects into Workspace', in the wizard, 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.
* Please follow these below instructions to remake the process
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.
Steps to remake the process:
- Go to File > New, select “Intaio|BPMS Business Process Project”.
- Provide Project name as”UserTaskForm”, Click Finish.
- Right click on project; go to New > select "Business Process Diagram".
- Provide File name as "UserTask", and click to Finish.
- A pool with a task is available in BPMN Editor Pane, name default pool as "Client" and task as "send".
- Right click on Client pool and select "Set pool non executable".
- Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "UserTask".
- Focus on "send" task in Client pool, drag the out going message icon from boundary to "User Task" pool and select option to "Connect to a new Task", name it as "receive".
- Focus on "receive" task, drag outgoing sequence flow icon from boundary and select option to "Connect to a new Task", name it as "reply".
- Drag the outgoing message icon from "reply" task and connect to "send" task in the Client Pool.
- Import schema files from zip file into the project (You can also create your own schema from File > New > Other > XML > XML Schema).
- Drag and drop user.xsd > tns:userForm schema node on to incoming message flows from "send" task to "receive" task.
- A message "Set schema element "userform" as the content of the message" will prompt you, click on it.
- Drag and drop user.xsd > tns:userForm schema node on to outgoing message flows from "reply" task to "send" task.
- A message "Set schema element "userForm" as the content of the message" will prompt you, click on it.
Defining Outgoing Mapping:
- Make sure Mapper view is visible (otherwise go to and select Windows > Show View > Mapper).
- In the process model select "reply" task.
- In the mapper Click on left side of the "$thisReceiveRequestMsg.body" and again click on right side of the "$thisReceiveResponseMsg.body".
- Save the process model.
- Now your process is fully implemented to and is valid to deploy and execute within Intalio|BPMS Server.
- 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.
Scenario in Intalio-bpms Server Directory:
1. Go to the folder where you are already installed "Intalio|BPMS Server 5.1.1 ".
2. Go to following directory:
\repository\com\intalio\bpms\axis2-services-geronimo-1.1\1.1.1\axis2-services-geronimo-1.1-1.1.1.war\axis2-web.
3. Place the " UI_01ClientUserTaskForm.jsp" and " UI_01CallClientUserTaskForm.jsp" (from the attached .zip file) inside axis2-web folder.
4. Go to the folder:
\repository\com\intalio\bpms\axis2-services-geronimo-1.1\1.1.1\axis2-services-geronimo-1.1-1.1.1.war\WEB-INF\classes
and create a new folder with name "WSDL" and place the " UI_01Client.java" and " UI_01Client.class" files inside the "WSDL" folder.
5. Deploy the " UserTaskForm.bpm" process in Intalio|BPMS designer.
6. Open the browser and provide the URL as:
http://localhost:8080/axis2/axis2-web/UI_01ClientUserTaskForm.jsp.
7. Provide the "End Point Url" as generated in WSDL like:
http://localhost:8080/ode/processes/UserTaskForm/UserTask/UserTask/Client
8. Provide the "Service Name" as generated in WSDL like:
CanonicServiceForClient
9. Also provide the user details as per the requirement.
FirstName: John
LastName: Abraham
Address1: Street no 10
Address2: MG Road
Designation: Software Consultant
City: LosAngeles
State: CA
Mobile:984952338
Fax:55875236
10. This is the output of the Client given:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<axis2ns12:receiveResponse xmlns:user="http://example.com/UserTask/UserTask" xmlns:axis2ns12="http://example.com/UserTask/UserTask" xmlns="http://example.com/UserTask/UserTask" xmlns:user1="http://www.example.org/user">
<user1:FirstName xmlns="http://www.example.org/user">
John
</user1:FirstName>
<user1:LastName xmlns="http://www.example.org/user">
Abraham
</user1:LastName>
<user1:Address1 xmlns="http://www.example.org/user">
Street no 10
</user1:Address1>
<user1:Address2 xmlns="http://www.example.org/user">
MG Road
</user1:Address2>
<user1:Gender xmlns="http://www.example.org/user">
Male
</user1:Gender>
<user1:Designation xmlns="http://www.example.org/user">
Software Consultant
</user1:Designation>
<user1:City xmlns="http://www.example.org/user">
LosAngeles
</user1:City>
<user1:State xmlns="http://www.example.org/user">
CA
</user1:State>
<user1:Mobile xmlns="http://www.example.org/user">
984952338
</user1:Mobile>
<user1:Fax xmlns="http://www.example.org/user">
55875236
</user1:Fax>
</axis2ns12:receiveResponse>
</soapenv:Body>
</soapenv:Envelope>
