Petals-SE-Notification

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

Changes (13)

View Page History



{note}Note : these two components are only "template component" and can help you to implement your own ones.{note}


{code}<wsnt:Subscribe
&nbsp;xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
&nbsp;xmlns:wsa="http://www.w3.org/2005/08/addressing"
&nbsp;xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
&nbsp;targetnamespace ="http://docs.oasis-open.org/wsn/b-2">
&nbsp;<wsnt:ConsumerReference>
&nbsp; <wsa:Address>[http://petals.ow2.org/cdk&lt;/wsa:Address&gt];
&nbsp; <wsa:ReferenceParameters>
&nbsp;&nbsp; <ebm:SOAParameter>
&nbsp;&nbsp;&nbsp; <ebm:ServiceName xmlns:ns8="http://www.ebmwebsourcing.com/WS-BaseNotification">ns8:SeWsnConsumerNotificationConsumerService</ebm:ServiceName>
&nbsp;&nbsp;&nbsp; <ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationConsumer</ebm:InterfaceName>
&nbsp;&nbsp;&nbsp; <ebm:Endpoint>SeWsnConsumerNotificationConsumerEndpoint</ebm:Endpoint>
&nbsp;&nbsp; </ebm:SOAParameter>
&nbsp; </wsa:ReferenceParameters>
&nbsp;</wsnt:ConsumerReference>
&nbsp;<wsnt:Filter>
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
targetnamespace ="http://docs.oasis-open.org/wsn/b-2">
<wsnt:ConsumerReference>
<wsa:Address>[http://petals.ow2.org/cdk&lt;/wsa:Address&gt];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://www.ebmwebsourcing.com/WS-BaseNotification">ns8:SeWsnConsumerNotificationConsumerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationConsumer</ebm:InterfaceName>
<ebm:Endpoint>SeWsnConsumerNotificationConsumerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
</wsa:ReferenceParameters>
</wsnt:ConsumerReference>
<wsnt:Filter>
&nbsp; <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Full"
&nbsp;&nbsp; xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">
&nbsp;&nbsp;&nbsp; internalns:rootTopic1/childTopic2//*\[@wstop:topic='true'\]
xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">
internalns:rootTopic1/childTopic2//*\[@wstop:topic='true'\]
&nbsp; </wsnt:TopicExpression>
&nbsp;</wsnt:Filter>
&nbsp;<wsnt:InitialTerminationTime>PT1H</wsnt:InitialTerminationTime>
&nbsp;<wsnt:SubscriptionPolicy/>

</wsnt:Filter>
<wsnt:InitialTerminationTime>PT1H</wsnt:InitialTerminationTime>
<wsnt:SubscriptionPolicy/>
</wsnt:Subscribe>{code}
Unsubscribe Request Payload template :

{code}<wsnt:Unsubscribe xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
&nbsp;xmlns:wsa="http://www.w3.org/2005/08/addressing"
&nbsp;xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
&nbsp;targetnamespace="http://docs.oasis-open.org/wsn/b-2">
&nbsp;<wsa:EndpointReference>
&nbsp; <wsa:Address>my_mail@ebmwebsourcing.com</wsa:Address>
&nbsp;</wsa:EndpointReference>
&nbsp;<ebm:ResourceUuidList>
&nbsp; <ebm:Uuid>\[Copy_and_Paste_Uuid_value_returned_in_SubscribeResponse\]</ebm:Uuid>
&nbsp;</ebm:ResourceUuidList>
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
targetnamespace="http://docs.oasis-open.org/wsn/b-2">
<wsa:EndpointReference>
<wsa:Address>my_mail@ebmwebsourcing.com</wsa:Address>
</wsa:EndpointReference>
<ebm:ResourceUuidList>
<ebm:Uuid>\[Copy_and_Paste_Uuid_value_returned_in_SubscribeResponse\]</ebm:Uuid>
</ebm:ResourceUuidList>
</wsnt:Unsubscribe>{code}
RegisterPublisher Request Payload template :

{code}<wsn-br:RegisterPublisher
&nbsp;xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2" &nbsp;
&nbsp;xmlns:wsa="http://www.w3.org/2005/08/addressing"
&nbsp;xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
&nbsp;targetnamespace ="http://docs.oasis-open.org/wsn/br-2">
&nbsp;<wsn-br:PublisherReference>
&nbsp; <wsa:Address>[http://petals.ow2.org/ws-addressing/cdk&lt;/wsa:Address&gt];
&nbsp; <wsa:ReferenceParameters>
&nbsp;&nbsp; <ebm:SOAParameter>
&nbsp;&nbsp;&nbsp; <ebm:ServiceName xmlns:ns8="http://www.ebmwebsourcing.com/WS-BaseNotification">ns8:SeWsnProducerNotificationProducerService</ebm:ServiceName>
&nbsp;&nbsp;&nbsp; <ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationProducer</ebm:InterfaceName>
&nbsp;&nbsp;&nbsp; <ebm:Endpoint>SeWsnProducerNotificationProducerEndpoint</ebm:Endpoint>
&nbsp;&nbsp; </ebm:SOAParameter>
&nbsp; </wsa:ReferenceParameters>
&nbsp;</wsn-br:PublisherReference>
&nbsp;<wsn-br:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Full"
&nbsp;xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">internalns:rootTopic1//*\[@wstop:topic='true'\]</wsn-br:Topic>
&nbsp;<wsn-br:Demand>true</wsn-br:Demand>
&nbsp;<wsn-br:InitialTerminationTime>2009-12-25T00:00:00.00000Z</wsn-br:InitialTerminationTime>
xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2" &nbsp;
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
targetnamespace ="http://docs.oasis-open.org/wsn/br-2">
<wsn-br:PublisherReference>
<wsa:Address>[http://petals.ow2.org/ws-addressing/cdk&lt;/wsa:Address&gt];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://www.ebmwebsourcing.com/WS-BaseNotification">ns8:SeWsnProducerNotificationProducerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationProducer</ebm:InterfaceName>
<ebm:Endpoint>SeWsnProducerNotificationProducerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
</wsa:ReferenceParameters>
</wsn-br:PublisherReference>
<wsn-br:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Full"
xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">internalns:rootTopic1//*\[@wstop:topic='true'\]</wsn-br:Topic>
<wsn-br:Demand>true</wsn-br:Demand>
<wsn-br:InitialTerminationTime>2009-12-25T00:00:00.00000Z</wsn-br:InitialTerminationTime>
</wsn-br:RegisterPublisher>{code}
DestroyRegistration Request Payload template :