Title: Airavata in Five Minutes. Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ### Introduction The binary distribution bundles a simple math service to a get a feel for Airavata and run a helloworld style example. The tutorial intended to demonstrate construction, execution and monitoring of a workflow using this simple service. ### Start Airavata Server and Launch GUI Before following the next instructions, make sure Airavata Server is up and running XBaya GUI is launched and Airavata Registry is configured from XBaya. Instructions are provided at [Quick Start Tutorials][quickstart] introduction Page. ### Construct a simple workflow * Import the pre-registered simple-math-service workflow from registry. - From the main menu select: - `XBaya` -> `Import` -> `WSDL from URL...` - Specify the WSDL URL as follows: - `http://gw8.quarry.iu.teragrid.org:8090/axis2-samples/services/SimpleMathService?wsdl` - If the WSDL was successfully added you will see another Component in Left Side Components view. Expand the new Component until you see the available operations for SimpleMathServcie. * Construct a simple workflow. - First create a new workflow from XBaya -> New -> Workflow so you will see a new workflow panel loaded into XBaya. - Create a workflow to invoke the greet method in SimpleMathServcie. - From Components view select & drag-drop the following in to workflow sheet in the center of XBaya window. - the `greet` Method - `Components` -> `System Components` -> `Input` - `Components` -> `System Components` -> `Output` - Connect the added components as shown in the figure ![11](/documentation/tutorials/9.png) - You have now successfully created a workflow to invoke the greet operation in the SimpleMathService. ### Executing & Monitoring a Workflow * Launch the workflow constructed in previous steps. - Run the workflow by clicking `Run` -> `Run on Interpreter Server...`
Or just click on the red play icon at the top panel of XBaya. - Specify the input value a string to greet and a experiment name. - The Workflow Interpreter and and GFac URL can be left with default values. - Click OK to launch this worklow * The workflow will now launch and the **Monitoring** view at the bottom of XBaya will show you the progress of the workflow execution. * The steps can be repeated to constructed to create simple workflows for other methods (add, substract and multiply) in the simple math service. The [Workflow Samples][workflow-samples] page describes some of these workflows. [quickstart]: /documentation/quickstart-tutorials.html [workflow-samples]: /documentation/tutorials/advanced-workflow-samples.html