Getting more information on xmpp programming – Echelon SmartServer XMPP Client User Manual

Page 22

Advertising
background image

14

Using SmartServer XMPP

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Header>
<messageProperties
xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/" />
</Header>
<Body>
<SystemService_Read_Info
xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/" >

<Data>&lt;iLONSystemService&gt;&lt;UCPTsystemInfoType&gt;SI_RTR&lt;/UCPTsystemInfoType
&gt;&lt;/iLONSystemService&gt;</Data>
</SystemService_Read_Info>
</Body>
</Envelope>
</iq>

SOAP over XMPP Response

<iq to='08-00-00-1A-7C-62@nitrogen/ilon'
type='set'
id='dpRead1'>

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Header>
<messageProperties
xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/" />
</Header>
<Body>
<Read xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item xsi:type="Dp_Data">

<UCPTname>Net/LON/iLON App/Real Time Clock/nvoRtTimeDate</UCPTname>
</Item>
</iLonItem>
</Read>
</Body>
</Envelope>
</iq>

<iq to='08-00-00-1A-7C-62@nitrogen/ilon'
type='set'
id='dpRead1'>

<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Header>
<messageProperties
xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/" />
</Header>
<Body>
<SystemService_Read_Info
xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/" >

<Data>&lt;iLONSystemService&gt;&lt;UCPTsystemInfoType&gt;SI_NETWORK&lt;/UCPTsystemInfo
Type&gt;&lt;/iLONSystemService&gt;</Data>
</SystemService_Read_Info>
</Body>
</Envelope>
</iq>

Getting More Information on XMPP Programming

For more information on the XMPP protocol and development of applications that support XMPP, you
can do the following:

Go to the XMPP Standards Foundation Web site at

xmpp.org

.

Advertising