Activity Type: Relational
Convert the results of an SQL query or a stored procedure into XML. Results of an SQL query are converted into WebRowSet format. For stored procedure results, update counts and output parameters are converted into single XML elements.
<sqlResultsToXML name="results">
<resultSet from="sqlStatement" />
<webRowSet name="webrowset" />
</sqlResultsToXML>
<outputParameter position="1">10000</outputParameter>
<resultStream updateCount="100"/>
<webRowSet xmlns="http://java.sun.com/xml/ns/jdbc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/jdbc http://java.sun.com/xml/ns/jdbc/webrowset.xsd">
<properties> ... </properties>
...
<data> ... </data>
</webRowSet>
Element sqlResultsToXML:
This activity can operate with any data resource accessor.
OGSA-DAI/schema/ogsadai/xsd/activities/sql_results_to_xml.xsd
uk.org.ogsadai.activity.sql.SQLResultsToXMLActivity
uk.org.ogsadai.client.toolkit.activity.sql.WebRowSet
Up: Activities | ||
© International Business Machines Corporation, 2002-2006 | © The University of Edinburgh, 2002-2006 |