|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (41)
View Page History{note}Note : these two components are only "template component" and can help you to implement your own ones.{note}
h2. Petals-se-notification associated wsdl file
Subscribe Request Payload template :
{code}
{code}
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://petals.ow2.org/petals-se-notification" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://petals.ow2.org/petals-se-notification" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
name="WS-BrokeredNotification" targetNamespace="http://petals.ow2.org/petals-se-notification">
<\!-\- ================================================== \-->
<\!-\- ================== imports ======================= \-->
<\!-\- ================================================== \-->
<wsdl:import location="brw-2.wsdl"
namespace="http://docs.oasis-open.org/wsn/brw-2" />
<wsdl:import location="bw-2.wsdl" namespace="http://docs.oasis-open.org/wsn/bw-2" />
namespace="http://docs.oasis-open.org/wsn/brw-2" />
<wsdl:import location="bw-2.wsdl" namespace="http://docs.oasis-open.org/wsn/bw-2" />
<\!-\- ========================================================= \-->
<\!-\- ========= Extended or Custom Types Definitions ========== \-->
<\!-\- \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\~ \-->
<\!-\- this section describes some custom types used in child \-->
<\!-\- nodes where allowed element type - see associated \-->
<\!-\- XML schema - is "anyType". For example "QueryExpressionType" \-->
<\!-\- defined in the "b-2.xsd" XML schema file - which is a part of \-->
<\!-\- "WS-BaseNotification" specification - allowed "anyType" child \-->
<\!-\- node. In this specific case a simple "string" child node \-->
<\!-\- called "xpath" is used. Of course, this choice is not \-->
<\!-\- restrictive and "any other type" child node can still be used instead \-->
<\!-\- \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\~ \-->
<\!-\- ========================================================= \-->
</wsdl:types>
<\!-\- ================================================== \-->
<\!-\- ========= Message part definition ================ \-->
<\!-\- ================================================== \-->
<wsdl:message name="EmptyMessage"/>
<wsdl:message name="EmptyMessage"/>
</wsdl:message>
<\!-\- =============================================== \-->
<\!-\- ========= PortType definition ================ \-->
<\!-\- =============================================== \-->
<wsdl:portType name="SupportedTopicsSet">
<wsdl:portType name="SupportedTopicsSet">
</wsdl:portType>
<\!-\- ============================================= \-->
<\!-\- ========== Binding definition =============== \-->
<\!-\- ============================================= \-->
<\!-\- NotificationBroker binding definition \-->
<wsdl:binding name="NotificationBrokerBinding" type="wsn-brw:NotificationBroker">
<soap:binding style="document"
<soap:binding style="document"
<wsdl:operation>
</wsdl:binding>
</wsdl:binding>
<\!-\- PublisherRegistrationManager binding definition \-->
<wsdl:binding name="PublisherRegistrationManagerBinding"
type="wsn-brw:PublisherRegistrationManager">
type="wsn-brw:PublisherRegistrationManager">
</wsdl:operation>
</wsdl:binding>
</wsdl:binding>
<\!-\- SubscriptionManager binding definition \-->
<wsdl:binding name="SubscriptionManagerBinding" type="wsn-bw:SubscriptionManager">
<soap:binding style="document"
<soap:binding style="document"
</wsdl:binding>
<\!\-- SupportedTopicsSet portType Service binding definition \-->
<wsdl:binding name="SupportedTopicsSetBinding"
type="tns:SupportedTopicsSet">
type="tns:SupportedTopicsSet">
<\!-\- ============================================= \--v
<\!-\- =========== Service part definition ========= \-->
<\!-\- ============================================= \-->
<wsdl:service name="NotificationBrokerService">
<wsdl:port name="NotificationBrokerServiceEndpoint" binding="tns:NotificationBrokerBinding">
<wsdl:port name="NotificationBrokerServiceEndpoint" binding="tns:NotificationBrokerBinding">
</wsdl:definitions>{code}
h2. Ws-Notification requests templates
Subscribe Request Payload template :
{code}<wsnt:Notify 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:NotificationMessage>
<wsnt:SubscriptionReference>
<wsa:Address>[http://petals.ow2.org/cdk</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:SubscriptionManagerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:SubscriptionManager</ebm:InterfaceName>
<ebm:Endpoint>SubscriptionManagerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
<ebm:ResourceUuidList>
<ebm:Uuid>f6324db3-486e-46b0-a6aa-eecc76a92eb1</ebm:Uuid>
</ebm:ResourceUuidList>
</wsa:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete"
xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">internalns:rootTopic1/childTopic2/grandChildTopic21</wsnt:Topic>
<wsnt:ProducerReference>
<wsa:Address>[http://petals.ow2.org/ws-addressing/default</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:NotificationProducerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationProducer</ebm:InterfaceName>
<ebm:Endpoint>NotificationProducerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
</wsa:ReferenceParameters>
</wsnt:ProducerReference>
<wsnt:Message>
<npex:NotifyContent xmlns:npex="http://petals.ow2.org/aNamespaceSample">This is the content - payload - of the notification</npex:NotifyContent>
</wsnt:Message>
xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
targetnamespace="http://docs.oasis-open.org/wsn/b-2">
<wsnt:NotificationMessage>
<wsnt:SubscriptionReference>
<wsa:Address>[http://petals.ow2.org/cdk</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:SubscriptionManagerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:SubscriptionManager</ebm:InterfaceName>
<ebm:Endpoint>SubscriptionManagerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
<ebm:ResourceUuidList>
<ebm:Uuid>f6324db3-486e-46b0-a6aa-eecc76a92eb1</ebm:Uuid>
</ebm:ResourceUuidList>
</wsa:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete"
xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">internalns:rootTopic1/childTopic2/grandChildTopic21</wsnt:Topic>
<wsnt:ProducerReference>
<wsa:Address>[http://petals.ow2.org/ws-addressing/default</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:NotificationProducerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationProducer</ebm:InterfaceName>
<ebm:Endpoint>NotificationProducerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
</wsa:ReferenceParameters>
</wsnt:ProducerReference>
<wsnt:Message>
<npex:NotifyContent xmlns:npex="http://petals.ow2.org/aNamespaceSample">This is the content - payload - of the notification</npex:NotifyContent>
</wsnt:Message>
xmlns:wsa="http://www.w3.org/2005/08/addressing" </wsnt:NotificationMessage>
xmlns:ebm="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
targetnamespace="http://docs.oasis-open.org/wsn/b-2">
<wsnt:NotificationMessage>
<wsnt:SubscriptionReference>
<wsa:Address>[http://petals.ow2.org/cdk</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:SubscriptionManagerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:SubscriptionManager</ebm:InterfaceName>
<ebm:Endpoint>SubscriptionManagerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
<ebm:ResourceUuidList>
<ebm:Uuid>f6324db3-486e-46b0-a6aa-eecc76a92eb1</ebm:Uuid>
</ebm:ResourceUuidList>
</wsa:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete"
xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">internalns:rootTopic1/childTopic2/grandChildTopic21</wsnt:Topic>
<wsnt:ProducerReference>
<wsa:Address>[http://petals.ow2.org/ws-addressing/default</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:NotificationProducerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationProducer</ebm:InterfaceName>
<ebm:Endpoint>NotificationProducerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
</wsa:ReferenceParameters>
</wsnt:ProducerReference>
<wsnt:Message>
<npex:NotifyContent xmlns:npex="http://petals.ow2.org/aNamespaceSample">This is the content - payload - of the notification</npex:NotifyContent>
</wsnt:Message>
</wsnt:NotificationMessage>
targetnamespace="http://docs.oasis-open.org/wsn/b-2">
<wsnt:NotificationMessage>
<wsnt:SubscriptionReference>
<wsa:Address>[http://petals.ow2.org/cdk</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:SubscriptionManagerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:SubscriptionManager</ebm:InterfaceName>
<ebm:Endpoint>SubscriptionManagerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
<ebm:ResourceUuidList>
<ebm:Uuid>f6324db3-486e-46b0-a6aa-eecc76a92eb1</ebm:Uuid>
</ebm:ResourceUuidList>
</wsa:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:Topic Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Concrete"
xmlns:internalns="http://petals.ow2.org/topicNamespace/sample/Internal">internalns:rootTopic1/childTopic2/grandChildTopic21</wsnt:Topic>
<wsnt:ProducerReference>
<wsa:Address>[http://petals.ow2.org/ws-addressing/default</wsa:Address>];
<wsa:ReferenceParameters>
<ebm:SOAParameter>
<ebm:ServiceName xmlns:ns8="http://petals.ow2.org/petals-se-notification">ns8:NotificationProducerService</ebm:ServiceName>
<ebm:InterfaceName xmlns:ns8="http://docs.oasis-open.org/wsn/bw-2">ns8:NotificationProducer</ebm:InterfaceName>
<ebm:Endpoint>NotificationProducerEndpoint</ebm:Endpoint>
</ebm:SOAParameter>
</wsa:ReferenceParameters>
</wsnt:ProducerReference>
<wsnt:Message>
<npex:NotifyContent xmlns:npex="http://petals.ow2.org/aNamespaceSample">This is the content - payload - of the notification</npex:NotifyContent>
</wsnt:Message>
</wsnt:NotificationMessage>
</wsnt:Notify>{code}
{code}
{code}
{code}
{column}
{column:width=350px}
{column:width=350px}