| 1 | [[TOC()]] |
| 2 | = Using the Taverna interface = |
| 3 | This tutorial explain how to access XGAP from within the [http://taverna.sourceforge.net Taverna Workflow Workbench] using web services. |
| 4 | == Step 1: Get the webservice URL == |
| 5 | Within the XGAP user interface: |
| 6 | 1. Go to "Programming interfaces". |
| 7 | [[Image(apis.png)]] |
| 8 | 2. Click the link at "Access using web services: use this WSDL file". |
| 9 | 1. Copy URL of the WSDL file from your browser, for example {{{http://localhost:8080/xgap_1_2_distro/api/soap?wsdl}}}. |
| 10 | |
| 11 | == Step 2a: Add services to Taverna 1 == |
| 12 | Now we will add the XGAP services to the Taverna service catalog. |
| 13 | |
| 14 | Inside the Taverna 2 workbench: |
| 15 | 1. Right-click on 'Available processors' and select 'Add new WSDL scavenger' |
| 16 | |
| 17 | [[Image(taverna1-1.png)]] |
| 18 | |
| 19 | 2. Past the URL to the XGAP WSDL file, for example {{{http://localhost:8080/xgap_1_2_distro/api/soap?wsdl}}}, and click OK. |
| 20 | |
| 21 | [[Image(taverna1-2.png)]] |
| 22 | |
| 23 | 3. The XGAP webservice appears in the list and can now be used in your workflows. |
| 24 | |
| 25 | [[Image(taverna1-3.png)]] |
| 26 | |
| 27 | == Step 2b: Add services to Taverna 2 == |
| 28 | Now we will add the XGAP services to the Taverna service catalog. |
| 29 | |
| 30 | Inside the Taverna 2 workbench: |
| 31 | 1. Click "Import new services", and select "WSDL Service". |
| 32 | |
| 33 | [[Image(taverna2-1.png)]] |
| 34 | |
| 35 | 2. Past the URL of the WSDL file in this box and click "Add". |
| 36 | |
| 37 | [[Image(taverna2-2.png)]] |
| 38 | |
| 39 | 3. The XGAP webservice appears in the list and can now be used in your workflows. |
| 40 | |
| 41 | [[Image(taverna2-3.png)]] |