9.3.2 Available DSM Tags
This section lists the available attributes for the <dsm> tag. You do not need to specify all the attributes listed here, only the ones that you wish to modify.
<ds_jdbc>
This tag is to be used when the data source is of type 'JDBC'.
<ds_jdbc name="DB2" url="jdbc_url" driver="jdbc_driver"
requireLogin="true" user="jdbc_user"
password="jdbc_password"
defaultDB="jdbc_defaultDB"/>
'name' is the jdbc data source's name
'url' is the jdbc data source's new url
'driver' is the jdbc data source's new driver
'requireLogin' is true if the jdbc data source requires login
'user' is the jdbc data source's new user if requires login
'password' is the jdbc data source's new password if requires login
'defaultDB' is the jdbc data source's new defaultDB
<ds_text>
This tag is to be used when the data source is of type 'Text'.
<ds_text name="chart" url="text_url" method="get"/>
'name' is the text data source's name
'url' is the text data source's new url
'method' is the text data source's new method: ["get"|"post"|""]
<ds_corba>
This tag is to be used when the data source is of type 'Corba'.
<ds_corba name="Bank" host="corba_host" port="corba_port"/>
'name' is the corba data source's name
'host' is the corba data source's new host
'port' is the corba data source's new port
<ds_ejb>
This tag is to be used when the data source is of type 'EJB'.
<ds_ejb name="record_on_weblogic5">
<contextProperty name="cp1" value="cp1_value"/>
<contextProperty name="cp2" value="cp2_value"/>
</ds_ejb>
'name' is the ejb data source's name
'name' and 'value' within the <contextProperty> tags are the context property's name and value, respectively
<ds_xml>
This tag is to be used when the data source is of type 'XML'.
<ds_xml name="xml1" url="xml_url" method="post"/>
'name' is the xml data source's name
'url' is the xml data source's new url
'method' is the xml data source's new method: ["get"|"post"|""]
<ds_soap>
This tag is to be used when the data source is of type 'SOAP'.
<ds_soap url="http://localhost:8080/axis/services/TempConvertWS" serverclass="localhost.axis.services.TempConvertWS.TempConvertWSSoapBindingStub" requireLogin="true" user="Tom" password="enter">
'url' is the soap data source's new url
'serverclass' is the soap data source's new server class
'requireLogin' is true if the soap data source requires login
'user' is the soap data source's new user if requires login
'password' is the soap data source's new password if requires login
| << 9.3.1 Using the Ant Task to Change Data Source | © 1996-2013 InetSoft Technology Corporation (v11.4) | 10 Conclusion >> |