MAIN arrow Samples-5.1 arrow Synchronous Process

Synchronous Process

Print E-mail

zip synchronousprocess 06/02/2008,04:22 8.97 Kb

 

Description

This "SOAP communication" use case illustrates the invoking of a synchronous process using 'SOAP'. It is a process that synchronizes the input received from the SOAP message and displays the same as the output.

 

Use case dependencies

message.xsd: Schema used is "start" which is of "string" type.

 

Requirements

  1. Intalio|BPMS Server-5.1.1
  2. Intalio|BPMS Designer-5.1.1

 

Process Download & Import

1.Download 'SynchronousProcess.zip'.
2.Go to File > Import...
3.Select 'Existing Projects into Workspace', in the wizard, click on Next >
4.Browse to select the downloaded archive file.
5.Click to Finish.
6.Update project builders by right click on project; go to BPMS Designer Tools > Update BPMS Builders.


synchronousprocess.jpg

 * Please follow these below instructions to remake the process 

 

Preconditions

  1. Make sure Intalio|BPMS Server is up and running fine.
  2. Make sure the Process Explorer pane does not contain any Intalio|BPMS Business Process Project with same name.

 

Steps to remake the process

  1. Right click on the project; go to New > "Business Process Diagram".
  2. Provide File name as "SynchronousProcess", and click to finish.
  3. A pool with a task is available in BPMN Editor Pane, name default pool as 'Client' and task as 'send'.
  4. Right click on client pool and select "Set pool non executable".
  5. Add new pool by click on BPMN Editor (select "Add Pool" option from pop up menu) and name it as "SynchronousProcess".
  6. Focus on send task; drag out going message flow icon to "SynchronousProcess" pool and select the option "Connect to a new Task", name this new task as "receive".
  7. Focus on the receive task and drag the outgoing message flow icon from boundary and connect to "send" task in the Client pool.
  8. Import schema files from zip file into the project ((or) You can also create your own schema from File > New > Other > XML > XML Schema).
  9. Drag and drop message.xsd > tns:start schema node on to incoming message flow from "send" task to "receive" task.
  10. A message "Set schema element 'start' as the content of the message" will prompt you, click on it.

 

Defining Outgoing Mapping

  1. Make sure Mapper view is visible (go to Windows > Show View > Mapper).
  2. In the process model select "receive" task and go to Mapper window.
  3. Select "Filter tree nodes (on)" option in the Mapper tool bar.
  4. Click on "$thisReceiveRequestMsg.body" node in left side of mapper and then click on "$thisReceiveResponseMsg.body" node in right side of mapper which will make an association.
  5. Save the process model.
  6. Now your process is fully implemented to and is valid to deploy and execute within Intalio|BPMS Server.

 

Process Deployment & Execution

  1. Click on Deploy Project to Intalio|BPMS Server button in tool bar.
  2. Make sure you select all runtime files while exporting to Intalio|BPMS Server.
  3. Also verify & check "Deploy processes" choice before click on Finish button.
  4. Open a web browser, provide url as: http://localhost:8080/bpms-console, which takes to login screen for bpms-console.
  5. Login with the following credentials:
    username: 'admin' (without quotes).
    password: 'changeit' (without quotes).
  6. In the processes list you should see "SynchronousProcess:SynchronousProcess" process with a package name "SynchronousProcess", select it and click to Start.
  7. This should generate a form with a check box field.
  8. Type 'Hello Synchronous Process' in start field and then click on Submit button.
  9. This will replace the page with an output like "receiveResponse: Hello Synchronous Process".

 

Last Updated ( Feb 06 2008 )
  < Prev Next >