Products | Versions |
---|---|
TIBCO Data Virtualization | 7.0 and higher |
Scenario:
A password for a datasource connection needs to be programmatically updated by making a soap call to the TIBCO Data Virtualization (TDV) service, without using the TDV Studio UI tool. Typically a call would be made to the TDV admin api web service operations seen under /services/webservices/system/admin
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://www.compositesw.com/services/system/admin/resource" xmlns:com="http://www.compositesw.com/services/system/util/common"> <soapenv:Header/> <soapenv:Body> <resource:updateDataSource xmlns:resource="http://www.compositesw.com/services/system/admin/resource" xmlns:common="http://www.compositesw.com/services/system/util/common"> <resource:path>/shared/examples/ds_orders</resource:path> <resource:detail>SIMPLE</resource:detail> <resource:annotation>this is my new anotation</resource:annotation> <resource:attributes> <common:attribute> <common:name>password</common:name> <common:type>PASSWORD_STRING</common:type> <common:value>tutorial</common:value> </common:attribute> </resource:attributes> </resource:updateDataSource> </soapenv:Body> </soapenv:Envelope>