System information

Table Of Contents
i.LON SmartServer 2.0 Programmer’s Reference
4-4
<ValueDef>
<UCPTindex>0</UCPTindex>
<UCPTname>OFF</UCPTname>
<UCPTvalue LonFormat="#0000000000000000[0].SNVT_switch">0.0 0</UCPTvalue>
</ValueDef>
<ValueDef>
<UCPTindex>1</UCPTindex>
<UCPTname>ON</UCPTname>
<UCPTvalue LonFormat="#0000000000000000[0].SNVT_switch">100.0 1</UCPTvalue>
</ValueDef>
</Item>
</iLonItem>
4.3
Data Server SOAP Interface
You can use the SOAP interface to perform the following functions on a data point on the Data Server.
Function Description
List List the name of each data point that you have added to the Data
Server.
Get Retrieve the configuration of a data point.
Set Create a data point and add it to the Data Server, or modify the
configuration of an existing data point.
Read Read the current values, statuses, and priorities of one or more
data points.
Write Write to the current values, statuses, and priorities of one or more
data points.
Invoke Used with Dp_ResetPrio_Invoke xsi type to reset the priority
level assigned to a data point.
Delete Remove a data point from the Data Server.
Note: Section 21.1.1, Reading and Writing Data Point Values in Visual C# .NET, includes a C#.NET
programming example demonstrating how to use the Data Server SOAP interface to read and write
data point values. Section
21.2.1, Reading and Writing Data Point Values in Visual Basic.NET,
includes a Visual Basic .NET example demonstrating how to do this.
Section
22.3.1, Reading and Writing Data Point Values in Java, includes a Java example
demonstrating how to read and write data point values.
4.3.1
Using the List Function on the Data Server
You can use the List function to retrieve a list of data points that have been added to the Data Server.
The List function takes an <iLonItem> element that has an xSelect statement querying items of a
Dp_Cfg type as its input, as shown in the example below. The List function returns an <Item> element
for each data point that you have added to Data Server.
Request (all data points on the Data Server)
<List xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<xSelect>//Item[@xsi:type="Dp_Cfg"]</xSelect>
</iLonItem>
</List>