Notify, Message parameters, Event_list – 2N Helios IP HTTP API v2.6 User Manual

Page 22

Advertising
background image

22

2N TELEKOMUNIKACE a.s., www.2n.cz

®

<?xml version="1.0" encoding="UTF-8"?>

<s:Envelope

xmlns:s="http://www.w3.org/2003/05/soap-envelope"

xmlns:topic2n="http://www.2n.cz/2013/event/topics"

xmlns:wsa5="http://www.w3.org/2005/08/addressing"

xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"

xmlns:event2n="http://www.2n.cz/2013/event">

<s:Header>

<wsa5:Action s:mustUnderstand="true">

http://docs.oasis-open.org/wsn/bw-2/PullPoint/GetMessagesResponse

</wsa5:Action>

</s:Header>

<s:Body>

<wsnt:GetMessagesResponse>

{EVENT_LIST}

</wsnt:GetMessagesResponse>

</s:Body>

</s:Envelope>

Message Parameters

EVENT_LIST

Refer to the Logged Events subsection for the list of events. The event list can be
empty. Specify the maximum count of events to be sent at one time in the
CreatePullPoint request in the Subscribe or the GetMessages request.

Notify

The Notify message informs you of the rise of a new event in the Subscription mode.
2N

Helios IP sends Notify to the address specified in the Subscribe request.

®

<?xml version="1.0" encoding="UTF-8"?>

<s:Envelope

xmlns:s="http://www.w3.org/2003/05/soap-envelope"

xmlns:topic2n="http://www.2n.cz/2013/event/topics"

xmlns:event2n="http://www.2n.cz/2013/event"

xmlns:wsa5="http://www.w3.org/2005/08/addressing"

xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">

<s:Header>

<wsa5:Action s:mustUnderstand="true">

http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer/Notify

</wsa5:Action>

</s:Header>

<s:Body>

<wsnt:Notify>

{EVENT_LIST}

</wsnt:Notify>

</s:Body>

</s:Envelope>

Advertising