beautypg.com

1 fault messages (application layer) – Echelon i.LON SmartServer 2.0 User Manual

Page 21

background image

i.LON SmartServer 2.0 Programmer’s Reference

2-7



xSelectStatement

xsi:type=“type”>

networkName/channelName/deviceName/functionBlockName/pointName

<Parameter1>Parameter1ValueParameter1>
<Parameter2>Parameter2ValueParameter2>

...

...







0

xsi:type=“type”>

0
networkName/channelName/deviceName/functionBlockName/pointName

<Parameter1>Parameter1ValueParameter1>
<Parameter2>Parameter2ValueParameter2>

...

...



2.5.3.1 Fault Messages (Application Layer)

The SOAP body in the response for every function in the SOAP/XML interface contains information
indicating whether any errors occurred while processing the request. Each item instance can contain a
fault object. An item instance without a fault object indicates an item that was successfully processed.

The following examples demonstrate instances that succeeded (no fault objects), an instance that was
applied but is not valid (faultType="_warning"), and an instance that was rejected
(faultType="_error"). The tag informs the client about the number of warnings
and errors that have occurred. If is 0, then no faults occurred.

Example 1 (warning occurs at the item level):

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

1


faultType="_warning">4

xml:lang="en-US">fault

string


networkName/channelName/deviceName/myAG


networkName/channelName/deviceName/yourAG

Although an item instance has a warning fault code, it can still be processed. All other item instances
with a fault object can be processed.

Example 2 (error occurs at the item level):



1