beautypg.com

2 web binding, Web binding -17, Web binding – Echelon i.LON SmartServer 2.0 User Manual

Page 31

background image

i.LON SmartServer 2.0 Programmer’s Reference

2-17



1
ON

LonFormat="#0000000000000000[0].SNVT_switch"

>100.0

1





2.10.2

Web Binding

You can use the WebBinder application on the SmartServer to send a SOAP message when a data
point update occurs. When the source data point (Dp_Data) in a Web connection is updated, the
SmartServer sends a Write request message for the transaction, and the response is sent by the receiver,
which may be another SmartServer, an LNS server, or a WebBinder Target (a Web server that can
process SOAP requests). The following example shows a Write message that is sent by a SmartServer
and is configured by the WebBinder application.

Request Message


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">

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

2008-04-08T11:14:56.289-07:00
0300000A5BF2
10.2.124.53
80
2008-04-08T18:10:37Z
102



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

0

xsi:type="Dp_Data">

Net/LON/iLON

App/Digital

Input

1/nvoClsValue_1

Dp_Out;xsi:type="LON_Dp_Cfg"
0
NVL_nvoClsValue_1
2008-04-08T11:14:53.599-07:00

LonFormat="#0000000000000000[0].SNVT_switch">0.0

0

LonFormat="UCPTvalueDef">OFF

LonFormat="UCPTpointStatus">AL_NO_CONDITION

255



Response Message


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">

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

2008-04-08T11:37:32.156-07:00
0300000A5BF2
10.2.124.53
80
2008-04-08T18:22:52Z