1 dataserverwrite fault responses – Echelon i.LON 100 e2 Internet Server User Manual
Page 69
LON 100 Internet Server Programmer’s Reference
5-25
Parameter
5.2.1.5.1 DataServerWrite Fault Responses
As of version 1.1, the
i.
LON 100 will return a detailed fault response message if it fails to
update the value of any of the data points specified in the parameter. Consider a case
where you specify input to update the values of 3 data points called NVL_myNetworkVar_1,
NVL_myNetworkVar_2, and NVL_myNetworkVar_3. If the
i.
LON 100 is unable to update
any one of the 3 data points for any reason, none of the data points will be updated, and a
fault response message will be returned that indicates which data points the
i.
LON 100 was
unable to update, and why.
The fault message will be returned using the same error reponse format as described in the
SOAP Error Responses section in Chapter 2 of this document. However, the SOAP envelope
will contain an additional element called the
after the
ENV:faultstring> element. The will contain a child-element for each data point that the i. LON 100 was unable to update. In the following example, the i. LON 100 is unable to update the NVL_myNetworkVar_1 and NVL_myNetworkVar_2 data points . The element includes a child element for each of these data points containing properties identifying the data point (UCPTindex, UCPTpointName, UCPTdataPointType) and the error code and description i. LON 100 was unable to update the data point. Remember that the value of the NVL_myNetworkVar_3 data point would not be updated by the funtion in this case, even though the new value passed to the function for the >
(faultcode and faulstring) that describes why the
data point is valid.
Parameter