Notification Support

compared with
Current by Christophe Hamerling
on Feb 02, 2012 13:10.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History

h3. Subscribe
{code:language=xml}<?xml version="1.0" encoding="UTF-8"?>
<wsnt:Subscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
<wsnt:ConsumerReference>
<wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://localhost/foo</wsa:Address>
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing"/>
</wsnt:ConsumerReference>
<wsnt:Filter>
<wsnt:TopicExpression xmlns:dsb="http://foo/bar" Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">dsb:DSB</wsnt:TopicExpression>
</wsnt:Filter>
</wsnt:Subscribe>
{code}


h3. SubscribeResponse
{code:language=xml}<?xml version="1.0" encoding="UTF-8"?>
<wsnt:SubscribeResponse xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
<wsnt:SubscriptionReference>
<wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://dsb.petalslink.com/notification/::Service@Enpoint</wsa:Address>
<wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
<rpimpl:SubscriptionId
xmlns:rpimpl="http://www.ebmwebsourcing.com/wsstar/wsnb/ws-resource">123456789</rpimpl:SubscriptionId>
</wsa:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:CurrentTime>2012-02-01T14:44:55.593+01:00</wsnt:CurrentTime>
<wsnt:TerminationTime xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:nil="true" />
</wsnt:SubscribeResponse>
{code}

h3. Unsubscribe
{code:language=xml}<?xml version="1.0" encoding="UTF-8"?>
<wsnt:Unsubscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
<rpimpl:SubscriptionId xmlns:rpimpl="http://www.ebmwebsourcing.com/wsstar/wsnb/ws-resource">123456789</rpimpl:SubscriptionId>
</wsnt:Unsubscribe>
{code}

h2. XML clients