Echelon i.LON SmartServer Technical Information Page 12

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 11
i.LON SmartServer 2.0 Programmer’s Reference
1-2
Echelon strongly recommends that you use the SOAP interface to configure the applications of
your SmartServer. The SmartServer performs error-checking on all data written in a SOAP message,
so that invalid data will not be written to any of the XML files. The SmartServer will not perform
error-checking on any XML files downloaded to it via FTP, and so manually editing the XML files
may cause errors during the boot process. Additionally, you can send SOAP messages to the
SmartServer while it is operating, and the SmartServer will update the XML files affected by the
SOAP messages without requiring a reboot.
You may find the information in this document that pertains to manually creating and managing XML
files useful if you are using several SmartServers, and would like to use the same configuration on
each one. In that case, you could configure one of the SmartServers, copy its XML files, and
download them to the appropriate directories of the other SmartServers to obtain the same
configuration in all of them.
1.2
Programming Samples
Chapter 21 of this document includes programming samples written in
Visual C# .NET, Visual Basic
.NET, and Java
to illustrate concepts described in this manual. To make these samples more easily
understood, they have been simplified. Error checking has been removed, and in some cases, the
examples are only fragments that may not compile without errors or warnings.
1.3
Getting Started
You should review Chapters 2 and 3 before proceeding to the rest of this document and learning about
the functions and applications of the SOAP/XML interface. Chapter 2,
SOAP Messages and the
SmartServer WSDL, describes the WSDL file which defines the SOAP/XML interface. Chapter 3,
SmartServer Applications and the SOAP/XML Interface, provides an overview of the SmartServer
applications and includes a roadmap to follow when configuring those applications with a SOAP
application.
You can begin to learn how to program the SmartServer using SOAP/XML using the iLON SOAP
Tester (version 2.0.3994). The SOAP Tester is an unsupported engineering-level tool provided by
Echelon that lets you perform functional testing of the SmartServer’s pre-defined SOAP functions and
your user-defined SOAP functions. You can download the SOAP Tester from the i.LON SmartServer
Community Web site at
http://ilonsmartserver.com/files. If you have a SmartServer 2.0 (Release
4.03), the SOAP Tester is also included on the i.LON SmartServer 2.0 DVD in the
iLon100\iLon100\unsupported\SoapTester folder. For more information on using the SOAP Tester,
see
Appendix A: SOAP Tester Example.
You can also learn how to program the SmartServer using SOAP/XML by installing an HTTP
debugging proxy program like Charles on your computer. The Charles proxy records all SOAP and
other HTTP traffic to and from your computer. You can use Internet Explorer to perform normal
operations with the SmartServer Web interface and record the SOAP messages that are being sent to
the SmartServer. You can download a free trial version of the Charles proxy from the Charles Web
site. For more information on using and downloading the Charles proxy, go to the Charles Web site at
www.charlesproxy.com.
1.4
SmartServer SOAP/XML Interface Upgrades
The format and contents of the SOAP messages you can send to a SmartServer are defined by the
SOAP namespace that the SmartServer is using. The SOAP/XML interface used for the SmartServer
(software version 4.0) is new. It uses a common set of generic methods (list, get, set, delete, read,
write, clear, and invoke) for retrieving and configuring the data of the various SmartServer
applications. This differs from the SOAP/XML interface that was used for e3 (software version 3.0)
release, in which each application had its own specialized set of messages and structures.
There have been three different SOAP namespaces introduced during the four releases of the i.LON
servers. The version 1.0 namespace was introduced for Release 1.0, the version 1.1 namespace was
Page view 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 442 443

Comments to this Manuals

No comments