0
|
1 <tool id="client_55" name="wublast.getResult">
|
|
2 <description> Client for operation : getResult , Web service : wublast.wublast_services </description>
|
|
3 <command interpreter="python">
|
|
4 client_1.py
|
|
5 #if $cond_source.optional_param_source=="no":
|
|
6 $output
|
|
7 $servicetype
|
|
8 $url
|
|
9 $method
|
|
10 wublast.wublast_services getResult
|
|
11 "_type"
|
|
12 #if $source0.source0_source=="user":
|
|
13 $source0.user_param0
|
|
14 #else:
|
|
15 fileInput
|
|
16 $source0.cached_param0
|
|
17 #end if
|
|
18 "_jobId"
|
|
19 #if $source1.source1_source=="user":
|
|
20 $source1.user_param1
|
|
21 #else:
|
|
22 fileInput
|
|
23 $source1.cached_param1
|
|
24 #end if
|
|
25 #else:
|
|
26 $output
|
|
27 $servicetype
|
|
28 $url
|
|
29 $method
|
|
30 wublast.wublast_services getResult
|
|
31 "_type"
|
|
32 #if $source0.source0_source=="user":
|
|
33 $source0.user_param0
|
|
34 #else:
|
|
35 fileInput
|
|
36 $source0.cached_param0
|
|
37 #end if
|
|
38 "_jobId"
|
|
39 #if $source1.source1_source=="user":
|
|
40 $source1.user_param1
|
|
41 #else:
|
|
42 fileInput
|
|
43 $source1.cached_param1
|
|
44 #end if
|
|
45 "_parameters|_parameter|0|_name"
|
|
46 #if $cond_source.source2.source2_source=="user":
|
|
47 $cond_source.source2.user_param2
|
|
48 #else:
|
|
49 fileInput
|
|
50 $cond_source.source2.cached_param2
|
|
51 #end if
|
|
52 "_parameters|_parameter|0|_value|_string|$|"
|
|
53 #if $cond_source.source3.source3_source=="user":
|
|
54 $cond_source.source3.user_param3
|
|
55 #else:
|
|
56 fileInput
|
|
57 $cond_source.source3.cached_param3
|
|
58 #end if
|
|
59 #end if
|
|
60 </command>
|
|
61 <inputs>
|
|
62 <param name="servicetype" type="hidden" value="SOAP" />
|
|
63 <param name="url" type="hidden" value="http://www.cs.uga.edu/~guttula/wublast.wsdl" />
|
|
64 <param name="method" type="hidden" value="getResult" />
|
|
65 <conditional name="source0">
|
|
66 <param name="source0_source" type="select" label="type Source">
|
|
67 <option value="cached" selected="true">Param value will be taken from previous step</option>
|
|
68 <option value="user">User will enter the param value</option>
|
|
69 </param>
|
|
70 <when value="user">
|
|
71 <param format="text" size = "150" name = "user_param0" type="text" label="Enter type" help="see tip below" />
|
|
72 </when>
|
|
73 <when value="cached">
|
|
74 <param name = "cached_param0" type="data" label="Choose the step from which to get the parameter type"/>
|
|
75 </when>
|
|
76 </conditional><conditional name="source1">
|
|
77 <param name="source1_source" type="select" label="jobId Source">
|
|
78 <option value="cached" selected="true">Param value will be taken from previous step</option>
|
|
79 <option value="user">User will enter the param value</option>
|
|
80 </param>
|
|
81 <when value="user">
|
|
82 <param format="text" size = "150" name = "user_param1" type="text" label="Enter jobId" help="see tip below" />
|
|
83 </when>
|
|
84 <when value="cached">
|
|
85 <param name = "cached_param1" type="data" label="Choose the step from which to get the parameter jobId"/>
|
|
86 </when>
|
|
87 </conditional> <conditional name="cond_source">
|
|
88 <param name="optional_param_source" type="select" label="Display Additional Parameters">
|
|
89 <option value="no" selected="true">no</option>
|
|
90 <option value="yes">yes</option>
|
|
91 </param>
|
|
92 <when value="no">
|
|
93 </when>
|
|
94 <when value="yes">
|
|
95
|
|
96 <conditional name="source2">
|
|
97 <param name="source2_source" type="select" label="name Source">
|
|
98 <option value="cached" selected="true">Param value will be taken from previous step</option>
|
|
99 <option value="user">User will enter the param value</option>
|
|
100 </param>
|
|
101 <when value="user"><param format="text" size = "150" name = "user_param2" type="text" label="Enter name" help="see tip below" />
|
|
102 </when>
|
|
103 <when value="cached">
|
|
104 <param name = "cached_param2" type="data" label="Choose the step from which to get the parameter name"/>
|
|
105 </when>
|
|
106 </conditional>
|
|
107
|
|
108 <conditional name="source3">
|
|
109 <param name="source3_source" type="select" label="value Source">
|
|
110 <option value="cached" selected="true">Param value will be taken from previous step</option>
|
|
111 <option value="user">User will enter the param value</option>
|
|
112 </param>
|
|
113 <when value="user"><param format="text" size = "150" name = "user_param3" type="text" label="Enter value" help="see tip below" />
|
|
114 </when>
|
|
115 <when value="cached">
|
|
116 <param name = "cached_param3" type="data" label="Choose the step from which to get the parameter value"/>
|
|
117 </when>
|
|
118 </conditional>
|
|
119 </when>
|
|
120 </conditional>
|
|
121 </inputs>
|
|
122 <outputs>
|
|
123 <data format="tabular" name="output" />
|
|
124 </outputs>
|
|
125 <help>
|
|
126
|
|
127 .. class:: infomark
|
|
128
|
|
129 **TIP:** About type: type is String
|
|
130
|
|
131 .. class:: infomark
|
|
132
|
|
133 **TIP:** About jobId: type is String
|
|
134 </help>
|
|
135 </tool>
|