3 connection test, Connection test -20 – Echelon i.LON SmartServer 2.0 User Manual

Page 320

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

19-20

</SystemService_Test>

Request (check the status of the test)

<SystemService_Test xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLONSystemService>

<Test>

<UCPTtestType>CONFIG_SERVER_TEST</UCPTtestType>

<UCPTstate>ST_STATUS</UCPTstate>
</Test>
</iLONSystemService>
</SystemService_Test>

Response

<SystemService_TestResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<Result>
<iLONSystemService>
<Test>
<UCPTtestType>CONFIG_SERVER_TEST</UCPTtestType>
<UCPTlastUpdate>2008-04-10T15:51:04.350-07:00</UCPTlastUpdate>
<UCPTstate>IDLE</UCPTstate>
<UCPTerror>0</UCPTerror>
<UCPTdetailDescr></UCPTdetailDescr>
<AoTestLog>
<TestLog>
<UCPTindex>0</UCPTindex>
<UCPTlogTime>2008-04-10T15:50:48.350-07:00</UCPTlogTime>
<UCPTdescription>Connection established</UCPTdescription>
<UCPTerror>0</UCPTerror>
<UCPTdetailDescr></UCPTdetailDescr>
</TestLog>
<TestLog>
<UCPTindex>1</UCPTindex>
<UCPTlogTime>2008-04-10T15:50:48.350-07:00</UCPTlogTime>
<UCPTdescription>Request configuration server status</UCPTdescription>
<UCPTerror>0</UCPTerror>
<UCPTdetailDescr>10.2.124.77</UCPTdetailDescr>
</TestLog>
<TestLog>
<UCPTindex>2</UCPTindex>
<UCPTlogTime>2008-04-10T15:50:54.350-07:00</UCPTlogTime>
<UCPTdescription>Configuration server is not responding</UCPTdescription>
<UCPTerror>39</UCPTerror>
<UCPTdetailDescr>10.2.124.77</UCPTdetailDescr>
</TestLog>
<TestLog>
<UCPTindex>3</UCPTindex>
<UCPTlogTime>2008-04-10T15:50:54.360-07:00</UCPTlogTime>
<UCPTdescription>Connection released</UCPTdescription>
<UCPTerror>0</UCPTerror>
<UCPTdetailDescr>10.2.124.77</UCPTdetailDescr>
</TestLog>
</AoTestLog>
</Test>
</iLONSystemService>
</Result>
<SystemService_TestResponse>

19.2.3

Connection Test

You can use the SystemService_Test function to test the connections between the SmartServer and host
devices such as SMTP mail servers, SNTP time servers, remote SmartServers, LNS Servers, and
WebBinder Target Servers. To do this, you provide the SystemService_Test function with an
<iLONSystemService> element that includes one <Test> element that has the following properties:

Advertising