Petals-SE-Notification

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

Changes (24)

View Page History



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

<!-- ========= 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&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; \-->
<!-- called "xpath" is used. Of course, this choice is not \-->
&nbsp;&nbsp; &nbsp; <\!-\- <!-- restrictive and "any other type" child node can still be used instead \-->
&nbsp;&nbsp; &nbsp; <\!-\- \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\~ \-->
&nbsp;&nbsp; &nbsp; <\!-\- ========================================================= \-->
&nbsp; &nbsp;
&nbsp; &nbsp;
&nbsp;&nbsp;&nbsp; <wsdl:types>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <xsd:schema targetNamespace="http://petals.ow2.org/petals-se-notification">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <xsd:import namespace="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;schemaLocation="specificTypesForNotification.xsd" />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- ========================================================= -->

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <xsd:import namespace="http://docs.oasis-open.org/wsn/t-1"
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;schemaLocation="t-1.xsd"/>
<wsdl:types>
<xsd:schema targetNamespace="http://petals.ow2.org/petals-se-notification">
<xsd:import namespace="http://www.ebmwebsourcing.com/wsnotification/specificTypes"
schemaLocation="specificTypesForNotification.xsd" />

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <xsd:element name="SupportedTopicsMsgResponse" type="wstop:TopicSetType"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </xsd:schema>
&nbsp;&nbsp;&nbsp; </wsdl:types>
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; &nbsp; <\!-\- ================================================== \-->
&nbsp;&nbsp; &nbsp; <\!-\- ========= Message part definition ================ \-->
&nbsp;&nbsp; &nbsp; <\!-\- ================================================== \-->
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; &nbsp; <wsdl:message name="EmptyMessage"/>
&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; &nbsp; <wsdl:message name="SupportedTopicsMessage">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <wsdl:part name="body" element="tns:SupportedTopicsMsgResponse"/>
&nbsp;&nbsp; &nbsp; </wsdl:message>
<xsd:import namespace="http://docs.oasis-open.org/wsn/t-1"
schemaLocation="t-1.xsd"/>

&nbsp;&nbsp; &nbsp; <\!-\- =============================================== \-->
&nbsp;&nbsp; &nbsp; <\!-\- =========&nbsp; PortType definition ================ \-->
&nbsp;&nbsp; &nbsp; <\!-\- =============================================== \-->
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
&nbsp;&nbsp; &nbsp; <wsdl:portType name="SupportedTopicsSet">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <wsdl:documentation>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This port type defines a Web service that provides
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;information about Topics currently supported by the Broker.
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </wsdl:documentation>
<xsd:element name="SupportedTopicsMsgResponse" type="wstop:TopicSetType"/>
</xsd:schema>
</wsdl:types>

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <wsdl:operation name="GetSupportedTopics">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <wsdl:input message="tns:EmptyMessage"/>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <wsdl:output message="tns:SupportedTopicsMessage"/>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </wsdl:operation>
&nbsp;&nbsp; &nbsp; </wsdl:portType>
<!-- ================================================== -->
<!-- ========= Message part definition ================ -->
<!-- ================================================== -->
<wsdl:message name="EmptyMessage"/>
<wsdl:message name="SupportedTopicsMessage">
<wsdl:part name="body" element="tns:SupportedTopicsMsgResponse"/>
</wsdl:message>

&nbsp;&nbsp; &nbsp; <\!-\- ============================================= \-->
&nbsp;&nbsp; &nbsp; <\!-\- ========== Binding definition =============== \-->
&nbsp;&nbsp; &nbsp; <\!-\- ============================================= \-->
&nbsp;&nbsp; &nbsp; <\!-\- NotificationBroker binding definition \-->
<!-- =============================================== -->
<!-- ========== PortType definition ================ -->
<!-- =============================================== -->

<wsdl:portType name="SupportedTopicsSet">
<wsdl:documentation>
This port type defines a Web service that provides
information about Topics currently supported by the Broker.
</wsdl:documentation>

<wsdl:operation name="GetSupportedTopics">
<wsdl:input message="tns:EmptyMessage"/>
<wsdl:output message="tns:SupportedTopicsMessage"/>
</wsdl:operation>
</wsdl:portType>

<!-- ============================================= -->
<!-- ========== Binding definition =============== -->
<!-- ============================================= -->

<!-- NotificationBroker binding definition -->
&nbsp;&nbsp; &nbsp; <wsdl:binding name="NotificationBrokerBinding" type="wsn-brw:NotificationBroker">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:binding style="document"
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;transport="http://schemas.xmlsoap.org/soap/http" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:operation name="Notify">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:operation soapAction="http://docs.oasis-open.org/wsn/b-2/Notify" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:input>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:body use="literal" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:input>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:operation>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:operation name="Subscribe">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:operation
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;soapAction="http://docs.oasis-open.org/wsn/b-2/Subscribe" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:input>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:body use="literal" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:input>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:output>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:body use="literal" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:output>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="ResourceUnknownFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="ResourceUnknownFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="InvalidFilterFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="InvalidFilterFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="TopicExpressionDialectUnknownFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="TopicExpressionDialectUnknownFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="InvalidTopicExpressionFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="InvalidTopicExpressionFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="TopicNotSupportedFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="TopicNotSupportedFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="InvalidProducerPropertiesExpressionFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal"
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;name="InvalidProducerPropertiesExpressionFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="InvalidMessageContentExpressionFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="InvalidMessageContentExpressionFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="UnacceptableInitialTerminationTimeFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="UnacceptableInitialTerminationTimeFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="UnrecognizedPolicyRequestFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="UnrecognizedPolicyRequestFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="UnsupportedPolicyRequestFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="UnsupportedPolicyRequestFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="NotifyMessageNotSupportedFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="NotifyMessageNotSupportedFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:fault name="SubscribeCreationFailedFault">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:fault use="literal" name="SubscribeCreationFailedFault" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:fault>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; </wsdl:operation>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:operation name="GetCurrentMessage">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <soap:operation
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="Notify">
<soap:operation soapAction="http://docs.oasis-open.org/wsn/b-2/Notify" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="Subscribe">
<soap:operation
soapAction="http://docs.oasis-open.org/wsn/b-2/Subscribe" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
<wsdl:fault name="ResourceUnknownFault">
<soap:fault use="literal" name="ResourceUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidFilterFault">
<soap:fault use="literal" name="InvalidFilterFault" />
</wsdl:fault>
<wsdl:fault name="TopicExpressionDialectUnknownFault">
<soap:fault use="literal" name="TopicExpressionDialectUnknownFault" />
</wsdl:fault>
<wsdl:fault name="InvalidTopicExpressionFault">
<soap:fault use="literal" name="InvalidTopicExpressionFault" />
</wsdl:fault>
<wsdl:fault name="TopicNotSupportedFault">
<soap:fault use="literal" name="TopicNotSupportedFault" />
</wsdl:fault>
<wsdl:fault name="InvalidProducerPropertiesExpressionFault">
<soap:fault use="literal"
name="InvalidProducerPropertiesExpressionFault" />
</wsdl:fault>
<wsdl:fault name="InvalidMessageContentExpressionFault">
<soap:fault use="literal" name="InvalidMessageContentExpressionFault" />
</wsdl:fault>
<wsdl:fault name="UnacceptableInitialTerminationTimeFault">
<soap:fault use="literal" name="UnacceptableInitialTerminationTimeFault" />
</wsdl:fault>
<wsdl:fault name="UnrecognizedPolicyRequestFault">
<soap:fault use="literal" name="UnrecognizedPolicyRequestFault" />
</wsdl:fault>
<wsdl:fault name="UnsupportedPolicyRequestFault">
<soap:fault use="literal" name="UnsupportedPolicyRequestFault" />
</wsdl:fault>
<wsdl:fault name="NotifyMessageNotSupportedFault">
<soap:fault use="literal" name="NotifyMessageNotSupportedFault" />
</wsdl:fault>
<wsdl:fault name="SubscribeCreationFailedFault">
<soap:fault use="literal" name="SubscribeCreationFailedFault" />
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="GetCurrentMessage">
<soap:operation
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;soapAction="http://docs.oasis-open.org/wsn/b-2/GetCurrentMessage" />
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <wsdl:input>