view WebServiceToolWorkflow/WebServiceTool2.xml~ @ 0:d5cd409b8a18 default tip

Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author ganjoo
date Tue, 07 Jun 2011 18:00:50 -0400
parents
children
line wrap: on
line source

<tool id="WebServiceTool_input_method" name="Step 2: Verify Settings">
  <description>  This tool lets the user choose a method and a resource from the Web service description document. Many methods/operations could be grouped together in one description document. But each method/operation requires a unique tool to invoke it. So each method has to be registered with Galaxy individually.</description>
  <command interpreter="python">
	WebServiceTool_input_method.py
	$url
	$wadl
	$webservice
	$resourceUrl
	$output
</command>
  <inputs>
<param name = "url" type="data" label="a. The previous step was" help="For your information only. The previous step that was executed is displayed. No action required."/>
<param name ="wadl" type ="select" data_ref="url" label ="b. The tool chosen was" help="Displays the Web service tool chosen in Step 1. No action required.">
  <options from_dataset="url">
    <column name="name" index ="0"/>
    <column name="value" index ="0"/>
    <filter type="unique_value" name="unique" column="0"/>
  </options>
</param>
<param name ="webservice" display = "radio" type ="select" data_ref="url" label ="c. Select the function of the tool you would like to use" help="Some tools have more than one function. It is important to select the appropriate function. One or more functions may be displayed here.">
  <options from_dataset="url">
    <column name="name" index ="1"/>
    <column name="value" index ="1"/>
    <filter type="unique_value" name="unique1" column="1"/>
  </options>
</param>
<param name ="resourceUrl" display = "radio" type ="select" data_ref="url" label ="d. Further refine the tool function. Select an option based on the documentation or experience" help="Different tools have different options to refine the tool. This could be a choice of formats or resources you want to search. Make selection based on tool documentation or experience.">
  <options from_dataset="url">
    <column name="name" index ="2"/>
    <column name="value" index ="2"/>
    <filter type="param_value" ref="webservice" name="resourceUri" column="1"/>
    <filter type="unique_value" name="unique2" column="2"/>
  </options>
</param>
  </inputs>
  <outputs>
    <data format="tabular" name="output" />
  </outputs>

  <tests>
    <test>    
      <param name="url" value="127.0.0.1:5001/hello/form"/>
      <output name="output" file="outtest"/>
    </test>
  </tests>

  <help>
  

.. class:: infomark
 
**TIP:** a. For your information only. The previous step that was executed is displayed. No action required.

.. class:: infomark
 
**TIP:** b. Displays the Web service tool chosen in Step 1. No action required

.. class:: infomark
 
**TIP:** c. Some tools have more than one function. It is important to select the appropriate function.
            One or more functions may be displayed here.
            
.. class:: infomark            

**TIP:** d. Different tools have different options to refine the tool. This could be a choice of formats 
            or resources you want to search. 
            Make selection based on tool documentation or experience.


*NOTE: Step 1, Step 2 and Step 3 merely add this tool to Galaxy. To use the tool, after completing Step 3, go to the Tools section on left
and find the tool under Web Service Tools and Web Service Workflow Tools.*

  </help>

</tool>