Echelon i.LON SmartServer 2.0 User Manual
Page 3
i.LON SmartServer 2.0 Programmer’s Reference
iii
Table of Contents
Introduction to the SmartServer SOAP/XML Interface ............... 1-1
About This Document ......................................................................1-1
Programming Samples ....................................................................1-2
Getting Started ................................................................................1-2
SmartServer SOAP/XML Interface Upgrades .................................1-2
Version 4.0 SOAP Message Name Schema.............................1-3
SOAP Messages and the SmartServer WSDL File...................... 2-1
SmartServer Naming Structure .......................................................2-1
SmartServer WSDL File ..................................................................2-2
SOAP Request and Response Message Structure.........................2-2
SOAP Request ..........................................................................2-3
SOAP Response .......................................................................2-4
SOAP Messages Formats ...............................................................2-4
SOAP Envelope.........................................................................2-5
SOAP Header ............................................................................2-5
SOAP Body................................................................................2-6
Namespace................................................................................2-9
SOAP Message Schema...........................................................2-9
SOAP Function Types ...............................................................2-9
SOAP Message Attributes.......................................................2-11
Using xSelect Statements in SOAP Message Requests ........2-11
Data Point References ..................................................................2-14
UCPTcurrentConfig .......................................................................2-15
Fault Structure ...............................................................................2-15
LonString type ...............................................................................2-15
SOAP Message Examples ............................................................2-15
Configuration Data.................................................................2-16
Web Binding ..........................................................................2-17
Data Log Read ......................................................................2-18
SmartServer Applications and the SOAP/XML Interface............ 3-1
Overview of SmartServer Applications............................................3-1
SmartServer XML Configuration Files.............................................3-2
Modifying the XML Configuration Files......................................3-2
SmartServer Resource Files ...........................................................3-3
Data Point Templates ................................................................3-4
Data Formatting .........................................................................3-4
SOAP Functions ..............................................................................3-5
List Functions ............................................................................3-5
Get Functions ............................................................................3-6
Set Functions.............................................................................3-6
Read Functions .........................................................................3-7