Extract logr25 from LEDA service
Created: 2012-05-23 18:44:25
Last updated: 2012-05-24 07:43:54
No description has been set
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Inputs (1)
Name |
Description |
list_cig_name |
|
Processors (11)
Name |
Type |
Description |
XPath_From_Text |
localworker |
Scriptimport org.dom4j.Document;
import org.dom4j.Node;
import org.dom4j.io.SAXReader;
SAXReader reader = new SAXReader(false);
reader.setIncludeInternalDTDDeclarations(false);
reader.setIncludeExternalDTDDeclarations(false);
Document document = reader.read(new StringReader(xmltext));
List nodelist = document.selectNodes(xpath);
// Process the elements in the nodelist
ArrayList outputList = new ArrayList();
ArrayList outputXmlList = new ArrayList();
String val = null;
String xmlVal = null;
for (Iterator iter = nodelist.iterator(); iter.hasNext();) {
Node element = (Node) iter.next();
xmlVal = element.asXML();
val = element.getStringValue();
if (val != null && !val.equals("")) {
outputList.add(val);
outputXmlList.add(xmlVal);
}
}
List nodelist=outputList;
List nodelistAsXML=outputXmlList; |
SesameXML |
wsdl |
Wsdlhttp://cdsws.u-strasbg.fr/axis/services/Sesame?wsdlWsdl OperationSesameXML |
xpath_for_RA |
stringconstant |
Value//jradeg |
XPath_From_Text_2 |
localworker |
Scriptimport org.dom4j.Document;
import org.dom4j.Node;
import org.dom4j.io.SAXReader;
SAXReader reader = new SAXReader(false);
reader.setIncludeInternalDTDDeclarations(false);
reader.setIncludeExternalDTDDeclarations(false);
Document document = reader.read(new StringReader(xmltext));
List nodelist = document.selectNodes(xpath);
// Process the elements in the nodelist
ArrayList outputList = new ArrayList();
ArrayList outputXmlList = new ArrayList();
String val = null;
String xmlVal = null;
for (Iterator iter = nodelist.iterator(); iter.hasNext();) {
Node element = (Node) iter.next();
xmlVal = element.asXML();
val = element.getStringValue();
if (val != null && !val.equals("")) {
outputList.add(val);
outputXmlList.add(xmlVal);
}
}
List nodelist=outputList;
List nodelistAsXML=outputXmlList; |
xpath_for_DEC |
stringconstant |
Value//jdedeg |
Flatten_List |
localworker |
Scriptflatten(inputs, outputs, depth) {
for (i = inputs.iterator(); i.hasNext();) {
element = i.next();
if (element instanceof Collection && depth > 0) {
flatten(element, outputs, depth - 1);
} else {
outputs.add(element);
}
}
}
outputlist = new ArrayList();
flatten(inputlist, outputlist, 1); |
Flatten_List_2 |
localworker |
Scriptflatten(inputs, outputs, depth) {
for (i = inputs.iterator(); i.hasNext();) {
element = i.next();
if (element instanceof Collection && depth > 0) {
flatten(element, outputs, depth - 1);
} else {
outputs.add(element);
}
}
}
outputlist = new ArrayList();
flatten(inputlist, outputlist, 1); |
VII_237 |
rest |
|
SR_value |
stringconstant |
Value0.001 |
filter_value |
stringconstant |
ValuelogR25 |
Select_columns |
tpipe |
|
Outputs (5)
Name |
Description |
sesame |
|
ra |
|
dec |
|
leda_output |
|
logr25 |
|
Datalinks (17)
Source |
Sink |
SesameXML:return |
XPath_From_Text:xml-text |
xpath_for_RA:value |
XPath_From_Text:xpath |
list_cig_name |
SesameXML:name |
xpath_for_DEC:value |
XPath_From_Text_2:xpath |
SesameXML:return |
XPath_From_Text_2:xml-text |
XPath_From_Text:nodelist |
Flatten_List:inputlist |
XPath_From_Text_2:nodelist |
Flatten_List_2:inputlist |
Flatten_List:outputlist |
VII_237:RA |
Flatten_List_2:outputlist |
VII_237:DEC |
SR_value:value |
VII_237:SR |
filter_value:value |
Select_columns:filter |
VII_237:responseBody |
Select_columns:voTable |
SesameXML:return |
sesame |
Flatten_List:outputlist |
ra |
Flatten_List_2:outputlist |
dec |
VII_237:responseBody |
leda_output |
Select_columns:outputTable |
logr25 |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (1)
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment