readDevice Operation
Using readDevice operation you can view the configuration of an existing TIBCO LogLogic supported device based on the deviceName.
Example
SOAP request for readDevice Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dev="DeviceService"> <soapenv:Header/> <soapenv:Body> <dev:readDevice> <dev:authToken>admin/admin123</dev:authToken> <dev:deviceName>“MyOracleDBName”</dev:deviceName> </dev:readDevice> </soapenv:Body> </soapenv:Envelope>
SOAP response for readDevice Operation:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Header/> <soapenv:Body> <ns:readDeviceResponse xmlns:ns="DeviceService"> <ns:return xsi:type="ax215:DeviceResponse" xmlns:ax215="http://device.services.logapp.loglogic.com/xsd" xmlns:ax216="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax216:authToken xsi:nil="true"/> <ax216:resultCount>1</ax216:resultCount> <ax216:statusCode>2000</ax216:statusCode> <ax216:statusMessage>Successful</ax216:statusMessage> <ax216:summaryOnly>false</ax216:summaryOnly> <ax215:resultSet xsi:type="ax215:DeviceDetail"> <ax215:applianceIp>127.0.0.1</ax215:applianceIp> <ax215:applianceName>localhost</ax215:applianceName> <ax215:description>test demo</ax215:description> <ax215:deviceId>9187343239835811851</ax215:deviceId> <ax215:deviceIp>22.2.2.2</ax215:deviceIp> <ax215:deviceName>test2</ax215:deviceName> <ax215:deviceType>Cisco ASA</ax215:deviceType> <ax215:dnsRefreshEnabled>yes</ax215:dnsRefreshEnabled> <ax215:enabled>disabled</ax215:enabled> </ax215:resultSet> </ns:return> </ns:readDeviceResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.