The following is a DADX file used in the samples. This DADX file shows the use of XML to identify DADX schema (line 2), the name of the Web service operation (line 3) and the SQL query performed (lines 4 - 6). Note that a DADX file can contain define one or more Web service operations.
<?xml version="1.0" encoding="UTF-8"?>
<DADX xmlns="http://schemas.ibm.com/db2/dxx/dadx">
<operation name="listDepartments">
<query>
<SQL_query>SELECT * FROM DEPARTMENT</SQL_query>
</query>
</operation>
</DADX>
Additional DADX examples can be found in the DB2 Web Services samples topic.