Products | Versions |
---|---|
TIBCO Data Virtualization | 7.0.x and higher |
How to test whether a data source's connection URL is operational?
<resource:testDataSourceConnection xmlns:resource="http://www.compositesw.com/services/system/admin/resource"> <resource:path>/shared/examples/ds_inventory</resource:path> </resource:testDataSourceConnection>
<resource:testDataSourceConnectionResponse xmlns:resource="http://www.compositesw.com/services/system/admin/resource" xmlns:common="http://www.compositesw.com/services/system/util/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <resource:status>SUCCESS</resource:status> <resource:messages/> </resource:testDataSourceConnectionResponse>
<resource:testDataSourceConnectionResponse xmlns:resource="http://www.compositesw.com/services/system/admin/resource" xmlns:common="http://www.compositesw.com/services/system/util/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <resource:status>FAIL</resource:status> <resource:messages> <common:message>The connection attempt failed.</common:message> </resource:messages> </resource:testDataSourceConnectionResponse>