











Signup for Training
- Kuala Lumpur, ML, Nov 25-27
- Frankfurt, DE, Dec 02-04
- Ciudad de Mexico, Dec 2-4
- Atlanta, GA Dec 3-5
- Melbourne, AU, Dec 9-11
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)
- Admin Intalio (admin)
- Alexandre Miguel de Andrade Souza (alexandremas)
- Crezo Ferreira (crezo.ferreira)
- Dariusz Gawrych (dariusz.gawrych)
- ESOMCHI NWOFOR (esomchi.nwofor)
- Ezequiel Muñoz (ezequiel.munoz)
- Johan Strandler (johan)
- Jose garcia (jose.garcia2)
- Jose Meza (jose.meza)
- Kevin Murray (kevin.murray)
- Leonardo Saraiva (leonardo.saraiva)
- Raul Rivas (raulxavier)
- Richard Guydan (richard.guydan)
- Soul Id (soul.id)
- Talita Pezzi (talita.pezzi)
Samples-5.1
File Handling Process using Axis2 File Handling Process using Axis2
filehandling 04/02/2008,05:49 62.95 Kb
Description:
This use case
illustrates functionality of creating, reading, updating and deleting
file.
The process has been implemented by creating a wsdl that
performs all the operations, and invoking this wsdl in intalio
process.
The WSDL file "FileHandlingServiceWS.wsdl" is
generated from "Axis2" Application Server which performs
the following operations:
-
WriteFile: operation that adds data to an existing file or creates a new file and inserts data in it.
-
DeleteFile: operation that deletes a file from the location specified.
-
ReadFile: operation that reads data from the file specified on local system.
In the process all three operations are invoked at same time,
its upon user to check out of 3 checkboxes which one he needs to
perform.
"FileName" specifies absolute path of the file
in local system like "C:\my folder\mydocument.txt" and
"FileData" specifies the data that is to be added or
deleted like "Hello! This is the data".
In the process all three operations are invoked at same time, its upon user to check out of 3 checkboxes which one he needs to perform.
"FileName" specifies absolute path of the file in local system like "C:\my folder\mydocument.txt" and "FileData" specifies the data that is to be added or deleted like "Hello! This is the data".
Use case dependencies:
file.xsd: Schema used is of "complex" type.
Requirements:
-
Intalio|BPMS Server-5.1.1
-
Intalio|BPMS Designer-5.1.1
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 'FileHandling.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 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 "FileHandlingServiceWS.aar" in the Axis2:
-
Make sure Intalio-bpms server is already started.
-
Open a web browser, provide url as: http://localhost:8080/axis2/., that takes to login screen for axis2.
-
Click on the "Administration" link.
-
Login with the following credentials:
username: "admin" (without quotes).
password: "axis2" (without quotes).
-
Click on the link to "Upload Service".
-
Browse to location of "FileHandlingServiceWS.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 "FileHandlingServiceWS" link is present there.
-
Click on "FileHandlingServiceWS" link 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 this wsdl in place of the existing wsdl.
Explanation of the files used:
- FileProcess.bpm: bpm file created for this purpose.
- FileHandlingServiceWS.aar:This file is required to be uploaded in the server i.e. in http://localhost:8080/axis2 so that the service can be deployed.
- FileHandlingServiceWS.wsdl:This is the wsdl that is required to be invoke in the process.
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). -
Bpms-console will be available with deployed processes list.
-
You should see "FileProcess:Server" process with a package name "FileHandling", select it and click to Start.
-
This should generate a form with three check boxes fields naming "receiveRead", "receiveWrite" & "receiveDelete".
-
Check the checkbox for "receiveWrite" and click to Invoke.
-
Again a form generates with an input field to map input data.
-
Type 'C:\myfolder\mydocument.txt Process' in name field & "Hello Intalio" in data field, then click on Submit button.
-
This will replace the page with an output like "receiveWriteResponse: Data added to new file".
-
Similarly, you can obtain results for other check box "receiveRead" & "receiveDelete".
