You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2011/10/12 22:48:22 UTC
svn commit: r1182577 -
/incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-5-minutes.mdtext
Author: lahiru
Date: Wed Oct 12 20:48:22 2011
New Revision: 1182577
URL: http://svn.apache.org/viewvc?rev=1182577&view=rev
Log:
CMS commit to airavata by lahiru
Modified:
incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-5-minutes.mdtext
Modified: incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-5-minutes.mdtext
URL: http://svn.apache.org/viewvc/incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-5-minutes.mdtext?rev=1182577&r1=1182576&r2=1182577&view=diff
==============================================================================
--- incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-5-minutes.mdtext (original)
+++ incubator/airavata/site/trunk/content/airavata/documentation/system/airavata-in-5-minutes.mdtext Wed Oct 12 20:48:22 2011
@@ -19,67 +19,82 @@ Notice: Licensed to the Apache Softwa
This tutorial will explain how to use Airavata to invoke a simple Web Service by creating a workflow. This will help to get an abstract understanding how Airavata works for detailed tutorial pelase refer the 15 minutes tutorial. Please follow up the below steps to run the simple web service sample.
Note: Currently Airavata will work with Linux distributions and Mac and we do not support all the Apache Airavata components to work on Windows.
-1. Download the latest Airavata release pack from downloads link and extract, for future explanation lets assume the path to extracted directory is AIRAVATA_HOME.
+ - Download the latest Airavata release pack from downloads link and extract, for future explanation lets assume the path to extracted directory is AIRAVATA_HOME.
-2. Now Run the following scripts in the given order below to start the components of Airavata.
+ - Now Run the following scripts in the given order below to start the components of Airavata.
AIRAVATA_HOME/bin/jackrabbit-server.sh - This will start Jackrabbit repository on port 8081.
AIRAVATA_HOME/bin/airavata-server.sh - This will start SimpleAxis2Server on port 8080
AIRAVATA_HOME/bin/xbaya-gui.sh - This will start XBaya GUI application.
-3. Now you have the simple-math-service running on Axis2 and next step is to invoke that service from an XBaya workflow. Use following screenshots to create the workflow and invoke.
+ - Now you have the simple-math-service running on Axis2 and next step is to invoke that service from an XBaya workflow. Use following screenshots to create the workflow and invoke.
-a. Adding Registry Instance to XBaya by giving URL : http://localhost:8081/rmi (keep the default values as it is) with registry
-username and password as admin/admin from XBaya -> Component -> Add Registry menu.
-After adding registry successfully you will see a new Component (JCR Component) in component List in left-hand side of XBaya.
+3.
-
+ - Adding Registry Instance to XBaya by giving URL :
+ http://localhost:8081/rmi (keep the default values as it is) with
+ registry username and password as admin/admin from XBaya ->
+ Component -> Add Registry menu. After adding registry successfully
+ you will see a new Component (JCR Component) in component List in
+ left-hand side of XBaya.3.
+
+</br></br>

-
+</br></br>

+</br></br>
+ - Providing the WSDL URL of the SimpleMathService we are going to
+ invoke as
+ http://localhost:8080/axis2/services/SimpleMathService?wsdl to XBaya
+ -> Component -> Add WSDL by URL Menu.
-
-b. Providing the WSDL URL of the SimpleMathService we are going to invoke as http://localhost:8080/axis2/services/SimpleMathService?wsdl to XBaya -> Component -> Add WSDL by URL Menu.
+

-
+</br></br>

-
+</br></br>

+</br></br>
-c. After successfully adding WSDL you will see another Component in Component List .. click on the new Components showing up until you see set of operations in SimpleMathServcie.
+ - After successfully adding WSDL you will see another Component in
+ Component List .. click on the new Components showing up until you
+ see set of operations in SimpleMathServcie.

-
-
-d. Now Select greet Method and drag and drop the greet method in to workflow sheet in right handside then drag and drop Components->System Components -> Input
-and Components -> System Components -> Output and connect the Input and Output to greet box as in the below screen shots.
+</br></br>
+ - Now Select greet Method and drag and drop the greet method in to
+ workflow sheet in right handside then drag and drop
+ Components->System Components -> Input and Components -> System
+ Components -> Output and connect the Input and Output to greet box
+ as in the below screen shots.

-
+</br></br>

-
+</br></br>

-
+</br></br>

+</br></br>
-e. Now you are have successfully created a workflow with SimpleMathService greet operation.
+ - Now you are have successfully created a workflow with SimpleMathService greet operation.
-4. Now Its time to invoke the workflow created in Step 3. To invoke this workflow click on Workflow -> Launch Dynamic Workflow menu then it will popup a dialog box
+
+4.Now Its time to invoke the workflow created in Step 3. To invoke this workflow click on Workflow -> Launch Dynamic Workflow menu then it will popup a dialog box
which you need to provide your input Value (Notification topic and GFac URL will work with default values). Fill up the Input Value with a text and click OK.
Press OK button for Provide Unique Name for workflow Notification popup too as in below screenshots.

-
+</br></br>

-
+</br></br>

+</br></br>
+5.Now you have invoked the workflow and you will direct in to the Monitoring menu at the bottom of XBaya which will show you the progress of the workflow invocation.
-5. Now you have invoked the workflow and you will direct in to the Monitoring menu at the bottom of XBaya which will show you the progress of the workflow invocation.
-
-
+</br></br>

-