Echelon i.LON SmartServer Technical Information Page 18

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 17
i.LON SmartServer 2.0 Programmer’s Reference
2-4
2.4.2
SOAP Response
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<p:messageProperties xmlns:p="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<p:UCPTtimeStamp>2005-02-02T11:30:15.220+01:00</p:UCPTtimeStamp>
<p:UCPTuniqueId>030000066f02</p:UCPTuniqueId>
<p:UCPTipAddress>172.25.143.222</p:UCPTipAddress>
<p:UCPTport>80</p:UCPTport>
<p:UCPTlastUpdate>2005-02-02T11:31:41Z</p:UCPTlastUpdate>
<p:UCPTprocessingTime>90</p:UCPTprocessingTime>
</p:messageProperties>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<MessageNameResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<UCPTfaultCount>0</UCPTfaultCount>
<Item xsi:type=“type”>
<UCPTname>networkName/channelName/deviceName/functionBlockName/pointName<UCPTname>
<Parameter1>Parameter1Value</Parameter1>
<Parameter2>Parameter2Value</Parameter2>
...
</Item>
<Item xsi:type=“type” >
<UCPTname>networkName/channelName/deviceName/functionBlockName/pointName1<UCPTname>
<Parameter1>Parameter1Value</Parameter1>
<Parameter2>Parameter2Value</Parameter2>
...
</Item>
...
</iLonItem>
</ MessageNameResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
2.5
SOAP Messages Formats
A SOAP message is sent to the SmartServer each time you invoke a SOAP function. The content of
the SOAP message and the affect it has on the SmartServer is based on the input you supply to the
function. Using the Set function for example, the SmartServer reads the contents of the message, and
adjusts its operating parameters of its applications accordingly. It also returns a response message
describing the status or configuration of the modified item. The following sections go through each
part of the SOAP messages to describe the interface.
SOAP messages are XML documents that are transferred from one entity to another; therefore, the first
line in any SOAP message is always the XML version header. SOAP 1.1 and 1.2 both conform to
XML 1.0, so this line will not need to change if the SOAP version is updated.
For more information on the types referenced in this section, see the Version 4.0 XML schema type
(iLON100.xsd), which is installed in the L
ONWORKS\iLon100\images\iLon100 4.0x\web\WSDL\v4.0
folder on your computer when you install the SmartServer software.
Note: All SOAP messages sent to and from the SmartServer must adhere to the UTF-8 encoding
standard. This is indicated by the
<?xml version="1.0" encoding="utf-8"?> tag included in
each SOAP message, as shown in the following sections. However, this restriction is not enforced by
the SmartServer software. As a result, the SmartServer will accept SOAP messages that do not adhere
to the UTF-8 encoding standard without throwing an error, which may result in invalid configuration
data being written to your SmartServer. To avoid this, you should program your application to ensure
that all SOAP messages adhere to the UTF-8 encoding standard. For more information on the UTF-8
encoding standard, see
http://www.ietf.org/rfc/rfc3629.txt.
Page view 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 442 443

Comments to this Manuals

No comments