servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r357814 [3/3] - in /incubator/servicemix/trunk/servicemix-wsn2005: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/servicemix/ src/main/java/org/servicemix/wsn/ src/main/java/org/servicemix/wsn/component/ src/main/java...
Date Mon, 19 Dec 2005 22:08:52 GMT
Added: incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/rw-1.wsdl
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/rw-1.wsdl?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/rw-1.wsdl (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/rw-1.wsdl Mon Dec 19 14:08:30 2005
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS's procedures with respect to rights in OASIS specifications can be found at the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementors or users of this specification, can be obtained from the OASIS Executive Director.
+
+OASIS invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology that may be required to implement this specification. Please address the information to the OASIS Executive Director.
+
+Copyright (C) OASIS Open (2005). All Rights Reserved.
+
+This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to OASIS, except as needed for the purpose of developing OASIS specifications, in which case the procedures for copyrights defined in the OASIS Intellectual Property Rights document must be followed, or as required to translate it into languages other than English. 
+
+The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns. 
+
+This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+-->
+
+<wsdl:definitions name="WS-Resource"
+  xmlns="http://schemas.xmlsoap.org/wsdl/" 
+  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-1" 
+  xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-1" 
+  targetNamespace="http://docs.oasis-open.org/wsrf/rw-1" 
+>
+  
+<!-- ===================== Types Definitions ====================== -->
+   <wsdl:types>
+     <xsd:schema 
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://docs.oasis-open.org/wsrf/rw-1"
+        elementFormDefault="qualified" 
+        attributeFormDefault="unqualified">
+
+       <xsd:import 
+         namespace="http://docs.oasis-open.org/wsrf/r-1"
+         schemaLocation="r-1.xsd"
+       /> 
+       
+     </xsd:schema>
+   </wsdl:types>
+
+<!-- ================= WS-Resource faults ========================= -->
+  <wsdl:message name="ResourceUnknownFault">
+     <part name="ResourceUnknownFault"
+           element="wsrf-r:ResourceUnknownFault" />
+  </wsdl:message> 
+
+</wsdl:definitions>
+

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsa.xsd
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsa.xsd?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsa.xsd (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsa.xsd Mon Dec 19 14:08:30 2005
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- $Id: ws-addr.xsd,v 1.5 2005/03/30 21:25:43 plehegar Exp $ -->
+<!--
+    W3C XML Schema defined in the Web Services Addressing 1.0 specification
+    http://www.w3.org/TR/ws-addr-core
+
+   Copyright © 2005 World Wide Web Consortium,
+
+   (Massachusetts Institute of Technology, European Research Consortium for
+   Informatics and Mathematics, Keio University). All Rights Reserved. This
+   work is distributed under the W3C® Software License [1] in the hope that
+   it will be useful, but WITHOUT ANY WARRANTY; without even the implied
+   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+   [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2005/03/addressing" targetNamespace="http://www.w3.org/2005/03/addressing" blockDefault="#all" elementFormDefault="qualified">
+	
+	<!-- Constructs from the WS-Addressing Core -->
+
+	<xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
+	<xs:complexType name="EndpointReferenceType">
+		<xs:sequence>
+			<xs:element name="Address" type="tns:AttributedURIType"/>
+			<xs:element name="ReferenceParameters" type="tns:ReferenceParametersType" minOccurs="0"/>
+			<xs:element ref="tns:Metadata" minOccurs="0"/>
+			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:complexType name="ReferenceParametersType">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:element name="Metadata" type="tns:MetadataType"/>
+	<xs:complexType name="MetadataType">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:element name="MessageID" type="tns:AttributedURIType"/>
+	<xs:element name="RelatesTo" type="tns:RelatesToType"/>
+	<xs:complexType name="RelatesToType">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/03/addressing/reply"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<xs:simpleType name="RelationshipTypeOpenEnum">
+		<xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
+	</xs:simpleType>
+	
+	<xs:simpleType name="RelationshipType">
+		<xs:restriction base="xs:anyURI">
+			<xs:enumeration value="http://www.w3.org/2005/03/addressing/reply"/>
+		</xs:restriction>
+	</xs:simpleType>
+	
+	<xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
+	<xs:element name="From" type="tns:EndpointReferenceType"/>
+	<xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
+	<xs:element name="To" type="tns:AttributedURIType"/>
+	<xs:element name="Action" type="tns:AttributedURIType"/>
+
+	<xs:complexType name="AttributedURIType">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<!-- Constructs from the WS-Addressing SOAP binding -->
+
+	<xs:attribute name="isReferenceParameter" type="xs:boolean"/>
+	
+	<xs:simpleType name="FaultCodesOpenEnumType">
+		<xs:union memberTypes="tns:FaultCodesType xs:QName"/>
+	</xs:simpleType>
+	
+	<xs:simpleType name="FaultCodesType">
+		<xs:restriction base="xs:QName">
+			<xs:enumeration value="tns:InvalidMessageInformationHeader"/>
+			<xs:enumeration value="tns:MessageInformationHeaderRequired"/>
+			<xs:enumeration value="tns:DestinationUnreachable"/>
+			<xs:enumeration value="tns:ActionNotSupported"/>
+			<xs:enumeration value="tns:EndpointUnavailable"/>
+		</xs:restriction>
+	</xs:simpleType>
+	
+	<xs:element name="RetryAfter" type="tns:AttributedNonNegativeIntegerType"/>
+	<xs:complexType name="AttributedNonNegativeIntegerType">
+		<xs:simpleContent>
+			<xs:extension base="xs:nonNegativeInteger">
+				<xs:anyAttribute namespace="##any" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+</xs:schema>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsn.wsdl
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsn.wsdl?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsn.wsdl (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/wsn.wsdl Mon Dec 19 14:08:30 2005
@@ -0,0 +1,452 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="ServiceMix-WS-BrokeredNotification"
+  xmlns="http://schemas.xmlsoap.org/wsdl/"
+  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-1" 
+  xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-1"
+  xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-1"
+  xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-1"   
+  xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-1" 
+  xmlns:tns="http://servicemix.org/wsn/jaxws"
+  targetNamespace="http://servicemix.org/wsn/jaxws">
+
+  <wsdl:import
+    namespace="http://docs.oasis-open.org/wsn/brw-1"
+    location="brw-1.wsdl">
+  </wsdl:import>
+
+  <wsdl:binding name="NotificationConsumerJBI"
+                type="wsn-bw:NotificationConsumer">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+      <wsdl:operation name="Notify">
+        <wsdl:input message="wsn-bw:Notify">
+          <soap:body use="literal" />
+        </wsdl:input>
+      </wsdl:operation>
+    </wsdl:binding>
+  <wsdl:service name="NotificationConsumerService">
+    <wsdl:port name="JBI" binding="tns:NotificationConsumerJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+  
+  <wsdl:binding name="NotificationProducerJBI"
+                type="wsn-bw:NotificationProducer">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+      <wsdl:operation name="Subscribe">
+        <wsdl:input  message="wsn-bw:SubscribeRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+        <wsdl:output message="wsn-bw:SubscribeResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidFilterFault" 
+                   message="wsn-bw:InvalidFilterFault">
+        <soap:fault use="literal" name="InvalidFilterFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicExpressionDialectUnknownFault" 
+                   message="wsn-bw:TopicExpressionDialectUnknownFault">
+        <soap:fault use="literal" name="TopicExpressionDialectUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsn-bw:InvalidTopicExpressionFault" >
+        <soap:fault use="literal" name="InvalidTopicExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsn-bw:TopicNotSupportedFault" >
+        <soap:fault use="literal" name="TopicNotSupportedFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidProducerPropertiesExpressionFault" 
+             message="wsn-bw:InvalidProducerPropertiesExpressionFault">
+        <soap:fault use="literal" name="InvalidProducerPropertiesExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidMessageContentExpressionFault" 
+             message="wsn-bw:InvalidMessageContentExpressionFault">
+        <soap:fault use="literal" name="InvalidMessageContentExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidUseRawValueFault" 
+             message="wsn-bw:InvalidUseRawValueFault">
+        <soap:fault use="literal" name="InvalidUseRawValueFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="UnacceptableInitialTerminationTimeFault" 
+             message="wsn-bw:UnacceptableInitialTerminationTimeFault">
+        <soap:fault use="literal" name="UnacceptableInitialTerminationTimeFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="SubscribeCreationFailedFault" 
+                      message="wsn-bw:SubscribeCreationFailedFault">
+        <soap:fault use="literal" name="SubscribeCreationFailedFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+      <wsdl:operation name="GetCurrentMessage">
+         <wsdl:input  message="wsn-bw:GetCurrentMessageRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+         <wsdl:output message="wsn-bw:GetCurrentMessageResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicExpressionDialectUnknownFault" 
+                  message="wsn-bw:TopicExpressionDialectUnknownFault">
+        <soap:fault use="literal" name="TopicExpressionDialectUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsn-bw:InvalidTopicExpressionFault">
+        <soap:fault use="literal" name="InvalidTopicExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsn-bw:TopicNotSupportedFault">
+        <soap:fault use="literal" name="TopicNotSupportedFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="NoCurrentMessageOnTopicFault" 
+                      message="wsn-bw:NoCurrentMessageOnTopicFault">
+        <soap:fault use="literal" name="NoCurrentMessageOnTopicFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+    </wsdl:binding>
+  <wsdl:service name="NotificationProducerService">
+    <wsdl:port name="JBI" binding="tns:NotificationProducerJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+  
+  <wsdl:binding name="NotificationBrokerJBI"
+                type="wsn-brw:NotificationBroker">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+      <wsdl:operation name="Notify">
+        <wsdl:input message="wsn-bw:Notify">
+          <soap:body use="literal" />
+        </wsdl:input>
+      </wsdl:operation>
+      <wsdl:operation name="Subscribe">
+        <wsdl:input  message="wsn-bw:SubscribeRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+        <wsdl:output message="wsn-bw:SubscribeResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidFilterFault" 
+                   message="wsn-bw:InvalidFilterFault">
+        <soap:fault use="literal" name="InvalidFilterFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicExpressionDialectUnknownFault" 
+                   message="wsn-bw:TopicExpressionDialectUnknownFault">
+        <soap:fault use="literal" name="TopicExpressionDialectUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsn-bw:InvalidTopicExpressionFault" >
+        <soap:fault use="literal" name="InvalidTopicExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsn-bw:TopicNotSupportedFault" >
+        <soap:fault use="literal" name="TopicNotSupportedFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidProducerPropertiesExpressionFault" 
+             message="wsn-bw:InvalidProducerPropertiesExpressionFault">
+        <soap:fault use="literal" name="InvalidProducerPropertiesExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidMessageContentExpressionFault" 
+             message="wsn-bw:InvalidMessageContentExpressionFault">
+        <soap:fault use="literal" name="InvalidMessageContentExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidUseRawValueFault" 
+             message="wsn-bw:InvalidUseRawValueFault">
+        <soap:fault use="literal" name="InvalidUseRawValueFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="UnacceptableInitialTerminationTimeFault" 
+             message="wsn-bw:UnacceptableInitialTerminationTimeFault">
+        <soap:fault use="literal" name="UnacceptableInitialTerminationTimeFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="SubscribeCreationFailedFault" 
+                      message="wsn-bw:SubscribeCreationFailedFault">
+        <soap:fault use="literal" name="SubscribeCreationFailedFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+      <wsdl:operation name="GetCurrentMessage">
+         <wsdl:input  message="wsn-bw:GetCurrentMessageRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+         <wsdl:output message="wsn-bw:GetCurrentMessageResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicExpressionDialectUnknownFault" 
+                  message="wsn-bw:TopicExpressionDialectUnknownFault">
+        <soap:fault use="literal" name="TopicExpressionDialectUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsn-bw:InvalidTopicExpressionFault">
+        <soap:fault use="literal" name="InvalidTopicExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsn-bw:TopicNotSupportedFault">
+        <soap:fault use="literal" name="TopicNotSupportedFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="NoCurrentMessageOnTopicFault" 
+                      message="wsn-bw:NoCurrentMessageOnTopicFault">
+        <soap:fault use="literal" name="NoCurrentMessageOnTopicFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="MultipleTopicsSpecifiedFault" 
+                      message="wsn-bw:MultipleTopicsSpecifiedFault">
+        <soap:fault use="literal" name="MultipleTopicsSpecifiedFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+      <wsdl:operation name="RegisterPublisher">
+         <wsdl:input  message="wsn-brw:RegisterPublisherRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+         <wsdl:output message="wsn-brw:RegisterPublisherResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsn-br:InvalidTopicExpressionFault">
+        <soap:fault use="literal" name="InvalidTopicExpressionFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsn-br:TopicNotSupportedFault">
+        <soap:fault use="literal" name="TopicNotSupportedFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="PublisherRegistrationRejectedFault" 
+                 message="wsn-brw:PublisherRegistrationRejectedFault">
+        <soap:fault use="literal" name="PublisherRegistrationRejectedFault" />
+      </wsdl:fault>
+         <wsdl:fault  name="PublisherRegistrationFailedFault" 
+                   message="wsn-brw:PublisherRegistrationFailedFault">
+        <soap:fault use="literal" name="PublisherRegistrationFailedFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+      <wsdl:operation name="CreatePullPoint">
+         <wsdl:input  name="CreatePullPointRequest" 
+                      message="wsn-bw:CreatePullPointRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+         <wsdl:output name="CreatePullPointResponse" 
+                      message="wsn-bw:CreatePullPointResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault  name="UnableToCreatePullPoint" 
+                      message="wsn-bw:UnableToCreatePullPoint" >
+        <soap:fault use="literal" name="UnableToCreatePullPoint" />
+      </wsdl:fault>
+         <wsdl:fault  name="PullNotificationNotSupportedFault" 
+                  message="wsn-brw:PullNotificationNotSupportedFault">
+        <soap:fault use="literal" name="PullNotificationNotSupportedFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+    </wsdl:binding>
+  <wsdl:service name="NotificationBrokerService">
+    <wsdl:port name="JBI" binding="tns:NotificationBrokerJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+  
+  <wsdl:binding name="SubscriptionManagerJBI"
+                type="wsn-bw:SubscriptionManager">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+		<wsdl:operation name="Renew">
+			<wsdl:input name="RenewRequest" message="wsntw:RenewRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="RenewResponse" message="wsntw:RenewResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+			<wsdl:fault name="UnacceptableTerminationTimeFault" message="wsntw:UnacceptableTerminationTimeFault">
+        <soap:fault use="literal" name="UnacceptableTerminationTimeFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="Unsubscribe">
+			<wsdl:input name="UsubscribeRequest" message="wsntw:UnsubscribeRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="UnsubscribeResponse" message="wsntw:UnsubscribeResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+			<wsdl:fault name="UnableToDestroySubscriptionFault" message="wsntw:UnableToDestroySubscriptionFault">
+        <soap:fault use="literal" name="UnableToDestroySubscriptionFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="SubscriptionManagerService">
+    <wsdl:port name="JBI" binding="tns:SubscriptionManagerJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+
+  <wsdl:binding name="PausableSubscriptionManagerJBI"
+                type="wsn-bw:PausableSubscriptionManager">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+		<wsdl:operation name="Renew">
+			<wsdl:input name="RenewRequest" message="wsntw:RenewRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="RenewResponse" message="wsntw:RenewResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+			<wsdl:fault name="UnacceptableTerminationTimeFault" message="wsntw:UnacceptableTerminationTimeFault">
+        <soap:fault use="literal" name="UnacceptableTerminationTimeFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="Unsubscribe">
+			<wsdl:input name="UsubscribeRequest" message="wsntw:UnsubscribeRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="UnsubscribeResponse" message="wsntw:UnsubscribeResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+			<wsdl:fault name="UnableToDestroySubscriptionFault" message="wsntw:UnableToDestroySubscriptionFault">
+        <soap:fault use="literal" name="UnableToDestroySubscriptionFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+		<!-- === PausableSubscriptionManager specific operations === -->
+		<wsdl:operation name="PauseSubscription">
+			<wsdl:input message="wsntw:PauseSubscriptionRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output message="wsntw:PauseSubscriptionResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+			<wsdl:fault name="PauseFailedFault" message="wsntw:PauseFailedFault">
+        <soap:fault use="literal" name="PauseFailedFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="ResumeSubscription">
+			<wsdl:input message="wsntw:ResumeSubscriptionRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output message="wsntw:ResumeSubscriptionResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+			<wsdl:fault name="ResumeFailedFault" message="wsntw:ResumeFailedFault">
+        <soap:fault use="literal" name="ResumeFailedFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="PausableSubscriptionManagerService">
+    <wsdl:port name="JBI" binding="tns:PausableSubscriptionManagerJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+
+  <wsdl:binding name="PublisherRegistrationManagerJBI"
+                type="wsn-brw:PublisherRegistrationManager">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+      <wsdl:operation name="Destroy">
+         <wsdl:input  name="DestroyRequest" 
+                      message="wsn-brw:DestroyRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+         <wsdl:output name="DestroyResponse" 
+                      message="wsn-brw:DestroyResponse" >
+          <soap:body use="literal" />
+        </wsdl:output>
+         <wsdl:fault name="ResourceUnknownFault"
+                message="wsrf-rw:ResourceUnknownFault" >
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+        </wsdl:fault>
+         <wsdl:fault  name="ResourceNotDestroyedFault" 
+                      message="wsn-brw:ResourceNotDestroyedFault" >
+        <soap:fault use="literal" name="ResourceNotDestroyedFault" />
+      </wsdl:fault>
+      </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="PublisherRegistrationManagerService">
+    <wsdl:port name="JBI" binding="tns:PublisherRegistrationManagerJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+  
+	<wsdl:binding name="CreatePullPointJBI"
+	              type="wsn-bw:CreatePullPoint">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+		<wsdl:operation name="CreatePullPoint">
+			<wsdl:input name="CreatePullPointRequest" message="wsntw:CreatePullPointRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="CreatePullPointResponse" message="wsntw:CreatePullPointResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="UnableToCreatePullPoint" message="wsntw:UnableToCreatePullPoint">
+        <soap:fault use="literal" name="UnableToCreatePullPoint" />
+      </wsdl:fault>
+		</wsdl:operation>
+	</wsdl:binding>
+  <wsdl:service name="CreatePullPointService">
+    <wsdl:port name="JBI" binding="tns:CreatePullPointJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+  
+  
+	<wsdl:binding name="PullPointJBI"
+                type="wsn-bw:PullPoint">
+      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+		<wsdl:operation name="GetMessages">
+			<wsdl:input name="GetMessagesRequest" message="wsntw:GetMessagesRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="GetMessagesResponse" message="wsntw:GetMessagesResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault" message="wsrf-rw:ResourceUnknownFault">
+        <soap:fault use="literal" name="ResourceUnknownFault" />
+      </wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="Destroy">
+			<wsdl:input name="DestroyRequest" message="wsntw:DestroyRequest">
+          <soap:body use="literal" />
+        </wsdl:input>
+			<wsdl:output name="DestroyResponse" message="wsntw:DestroyResponse">
+          <soap:body use="literal" />
+        </wsdl:output>
+			<wsdl:fault name="UnableToDestroyPullPoint" message="wsntw:UnableToDestroyPullPoint">
+        <soap:fault use="literal" name="UnableToDestroyPullPoint" />
+      </wsdl:fault>
+		</wsdl:operation>
+	</wsdl:binding>
+  <wsdl:service name="PullPointService">
+    <wsdl:port name="JBI" binding="tns:PullPointJBI">
+      <soap:address location="http://servicemix.org/wsnotification" />
+    </wsdl:port>
+  </wsdl:service>
+  
+</wsdl:definitions>

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/xml.xsd
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/xml.xsd?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/xml.xsd (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/main/wsdl/xml.xsd Mon Dec 19 14:08:30 2005
@@ -0,0 +1,139 @@
+<?xml version='1.0'?>
+<xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+
+ <xs:annotation>
+  <xs:documentation>
+   See http://www.w3.org/XML/1998/namespace.html and
+   http://www.w3.org/TR/REC-xml for information about this namespace.
+
+    This schema document describes the XML namespace, in a form
+    suitable for import by other schema documents.
+
+    Note that local names in this namespace are intended to be defined
+    only by the World Wide Web Consortium or its subgroups.  The
+    following names are currently defined in this namespace and should
+    not be used with conflicting semantics by any Working Group,
+    specification, or document instance:
+
+    base (as an attribute name): denotes an attribute whose value
+         provides a URI to be used as the base for interpreting any
+         relative URIs in the scope of the element on which it
+         appears; its value is inherited.  This name is reserved
+         by virtue of its definition in the XML Base specification.
+
+    id   (as an attribute name): denotes an attribute whose value
+         should be interpreted as if declared to be of type ID.
+         The xml:id specification is not yet a W3C Recommendation,
+         but this attribute is included here to facilitate experimentation
+         with the mechanisms it proposes.  Note that it is _not_ included
+         in the specialAttrs attribute group.
+
+    lang (as an attribute name): denotes an attribute whose value
+         is a language code for the natural language of the content of
+         any element; its value is inherited.  This name is reserved
+         by virtue of its definition in the XML specification.
+
+    space (as an attribute name): denotes an attribute whose
+         value is a keyword indicating what whitespace processing
+         discipline is intended for the content of the element; its
+         value is inherited.  This name is reserved by virtue of its
+         definition in the XML specification.
+
+    Father (in any context at all): denotes Jon Bosak, the chair of
+         the original XML Working Group.  This name is reserved by
+         the following decision of the W3C XML Plenary and
+         XML Coordination groups:
+
+             In appreciation for his vision, leadership and dedication
+             the W3C XML Plenary on this 10th day of February, 2000
+             reserves for Jon Bosak in perpetuity the XML name
+             xml:Father
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:annotation>
+  <xs:documentation>This schema defines attributes and an attribute group
+        suitable for use by
+        schemas wishing to allow xml:base, xml:lang or xml:space attributes
+        on elements they define.
+
+        To enable this, such a schema must import this schema
+        for the XML namespace, e.g. as follows:
+        &lt;schema . . .>
+         . . .
+         &lt;import namespace="http://www.w3.org/XML/1998/namespace"
+                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
+
+        Subsequently, qualified reference to any of the attributes
+        or the group defined below will have the desired effect, e.g.
+
+        &lt;type . . .>
+         . . .
+         &lt;attributeGroup ref="xml:specialAttrs"/>
+
+         will define a type which will schema-validate an instance
+         element with any of those attributes</xs:documentation>
+
+ </xs:annotation>
+
+ <xs:annotation>
+  <xs:documentation>In keeping with the XML Schema WG's standard versioning
+   policy, this schema document will persist at
+   http://www.w3.org/2004/10/xml.xsd.
+   At the date of issue it can also be found at
+   http://www.w3.org/2001/xml.xsd.
+   The schema document at that URI may however change in the future,
+   in order to remain compatible with the latest version of XML Schema
+   itself, or with the XML namespace itself.  In other words, if the XML
+   Schema or XML namespaces change, the version of this document at
+   http://www.w3.org/2001/xml.xsd will change
+   accordingly; the version at
+   http://www.w3.org/2004/10/xml.xsd will not change.
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:attribute name="lang" type="xs:language">
+  <xs:annotation>
+   <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
+         codes as the enumerated possible values is probably never
+         going to be a realistic possibility.  See
+         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
+         at http://www.iana.org/assignments/lang-tag-apps.htm for
+         further information.</xs:documentation>
+
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="space">
+  <xs:simpleType>
+   <xs:restriction base="xs:NCName">
+    <xs:enumeration value="default"/>
+    <xs:enumeration value="preserve"/>
+   </xs:restriction>
+
+  </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="base" type="xs:anyURI">
+  <xs:annotation>
+   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
+                     information about this attribute.</xs:documentation>
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attribute name="id" type="xs:ID">
+
+  <xs:annotation>
+   <xs:documentation>See http://www.w3.org/TR/xml-id/ for
+                     information about this attribute.</xs:documentation>
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attributeGroup name="specialAttrs">
+  <xs:attribute ref="xml:base"/>
+  <xs:attribute ref="xml:lang"/>
+  <xs:attribute ref="xml:space"/>
+
+ </xs:attributeGroup>
+
+</xs:schema>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/JAXBMarshaller.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/JAXBMarshaller.java?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/JAXBMarshaller.java (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/JAXBMarshaller.java Mon Dec 19 14:08:30 2005
@@ -0,0 +1,47 @@
+package org.servicemix.wsn;
+
+import java.io.StringWriter;
+
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.xml.bind.JAXBContext;
+import javax.xml.transform.Source;
+
+import org.servicemix.jbi.jaxp.StringSource;
+import org.servicemix.jbi.messaging.DefaultMarshaler;
+
+public class JAXBMarshaller extends DefaultMarshaler {
+
+	private JAXBContext context;
+	
+	public JAXBMarshaller(JAXBContext context) {
+		this.context = context;
+	}
+
+	public JAXBContext getContext() {
+		return context;
+	}
+
+	public void setContext(JAXBContext context) {
+		this.context = context;
+	}
+	
+    protected Object defaultUnmarshal(MessageExchange exchange, NormalizedMessage message) {
+        try {
+        	Source content = message.getContent();
+        	return context.createUnmarshaller().unmarshal(content);
+        } catch (Exception e) {
+        	throw new RuntimeException(e);
+        }
+    }
+
+    protected Source asContent(NormalizedMessage message, Object body) {
+    	try {
+	    	StringWriter writer = new StringWriter();
+	    	context.createMarshaller().marshal(body, writer);
+	    	return new StringSource(writer.toString());
+        } catch (Exception e) {
+        	throw new RuntimeException(e);
+        }
+    }
+}

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/SubscriptionTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/SubscriptionTest.java?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/SubscriptionTest.java (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/SubscriptionTest.java Mon Dec 19 14:08:30 2005
@@ -0,0 +1,135 @@
+package org.servicemix.wsn;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBException;
+import javax.xml.bind.Unmarshaller;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+import junit.framework.TestCase;
+
+import org.oasis_open.docs.wsn.b_1.Subscribe;
+import org.servicemix.wsn.jaxws.InvalidFilterFault;
+import org.servicemix.wsn.jaxws.InvalidMessageContentExpressionFault;
+import org.servicemix.wsn.jaxws.InvalidProducerPropertiesExpressionFault;
+import org.servicemix.wsn.jaxws.InvalidTopicExpressionFault;
+import org.servicemix.wsn.jaxws.InvalidUseRawValueFault;
+import org.servicemix.wsn.jaxws.PauseFailedFault;
+import org.servicemix.wsn.jaxws.ResumeFailedFault;
+import org.servicemix.wsn.jaxws.SubscribeCreationFailedFault;
+import org.servicemix.wsn.jaxws.TopicExpressionDialectUnknownFault;
+import org.servicemix.wsn.jaxws.TopicNotSupportedFault;
+import org.servicemix.wsn.jaxws.UnacceptableInitialTerminationTimeFault;
+import org.servicemix.wsn.jaxws.UnacceptableTerminationTimeFault;
+
+public class SubscriptionTest extends TestCase {
+
+	private JAXBContext context;
+	private Unmarshaller unmarshaller;
+	private AbstractSubscription subscription;
+	
+	protected void setUp() throws Exception {
+		context = JAXBContext.newInstance(Subscribe.class);
+		unmarshaller = context.createUnmarshaller();
+		subscription = new DummySubscription("mySubscription");
+	}
+	
+	protected Subscribe getSubscription(String file) throws JAXBException, IOException {
+		InputStream is = getClass().getResourceAsStream(file);
+		Subscribe subscribe = (Subscribe) unmarshaller.unmarshal(is);
+		is.close();
+		return subscribe;
+	}
+	
+	public void testWithNilITT() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-nil-itt.xml");
+		subscription.validateSubscription(subscribe);
+	}
+	
+	public void testWithAbsoluteITT() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-abs-itt.xml");
+		try {
+			subscription.validateSubscription(subscribe);
+			fail("Invalid initial termination time used. Fault was expected.");
+		} catch (UnacceptableInitialTerminationTimeFault e) {
+			// OK
+		}
+	}
+	
+	public void testWithEmptyITT() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-empty-itt.xml");
+		try {
+			subscription.validateSubscription(subscribe);
+			fail("Invalid initial termination time used. Fault was expected.");
+		} catch (UnacceptableInitialTerminationTimeFault e) {
+			// OK
+		}
+	}
+	
+	public void testWithNoITT() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-no-itt.xml");
+		subscription.validateSubscription(subscribe);
+	}
+	
+	public void testWithUseRaw() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-raw.xml");
+		try {
+			subscription.validateSubscription(subscribe);
+			fail("UseRaw used. Fault was expected.");
+		} catch (InvalidUseRawValueFault e) {
+			// OK
+		}
+	}
+	
+	public void testWithProducerProperties() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-pp.xml");
+		try {
+			subscription.validateSubscription(subscribe);
+			fail("ProducerProperties used. Fault was expected.");
+		} catch (InvalidProducerPropertiesExpressionFault e) {
+			// OK
+		}
+	}
+	
+	public void testWithNoTopic() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-no-topic.xml");
+		try {
+			subscription.validateSubscription(subscribe);
+			fail("ProducerProperties used. Fault was expected.");
+		} catch (InvalidFilterFault e) {
+			// OK
+		}
+	}
+	
+	public void testWithEPR() throws Exception {
+		Subscribe subscribe = getSubscription("subscribe-epr.xml");
+		subscription.validateSubscription(subscribe);
+	}
+	
+	public static class DummySubscription extends AbstractSubscription {
+
+		public DummySubscription(String name) {
+			super(name);
+		}
+
+		@Override
+		public void subscribe(Subscribe subscribeRequest) throws InvalidFilterFault, InvalidMessageContentExpressionFault, InvalidProducerPropertiesExpressionFault, InvalidTopicExpressionFault, InvalidUseRawValueFault, SubscribeCreationFailedFault, TopicExpressionDialectUnknownFault, TopicNotSupportedFault, UnacceptableInitialTerminationTimeFault {
+		}
+
+		@Override
+		protected void pause() throws PauseFailedFault {
+		}
+
+		@Override
+		protected void resume() throws ResumeFailedFault {
+		}
+
+		@Override
+		protected void renew(XMLGregorianCalendar terminationTime) throws UnacceptableTerminationTimeFault {
+		}
+		
+	}
+	
+}

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/component/WSNComponentTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/component/WSNComponentTest.java?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/component/WSNComponentTest.java (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/java/org/servicemix/wsn/component/WSNComponentTest.java Mon Dec 19 14:08:30 2005
@@ -0,0 +1,173 @@
+package org.servicemix.wsn.component;
+
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.JAXBElement;
+import javax.xml.namespace.QName;
+
+import junit.framework.TestCase;
+
+import org.activemq.ActiveMQConnectionFactory;
+import org.activemq.broker.BrokerService;
+import org.oasis_open.docs.wsn.b_1.CreatePullPoint;
+import org.oasis_open.docs.wsn.b_1.CreatePullPointResponse;
+import org.oasis_open.docs.wsn.b_1.FilterType;
+import org.oasis_open.docs.wsn.b_1.GetMessages;
+import org.oasis_open.docs.wsn.b_1.GetMessagesResponse;
+import org.oasis_open.docs.wsn.b_1.NotificationMessageHolderType;
+import org.oasis_open.docs.wsn.b_1.Notify;
+import org.oasis_open.docs.wsn.b_1.Subscribe;
+import org.oasis_open.docs.wsn.b_1.SubscribeResponse;
+import org.oasis_open.docs.wsn.b_1.TopicExpressionType;
+import org.servicemix.client.DefaultServiceMixClient;
+import org.servicemix.jbi.container.ActivationSpec;
+import org.servicemix.jbi.container.JBIContainer;
+import org.servicemix.jbi.resolver.EndpointResolver;
+import org.servicemix.jbi.resolver.ServiceAndEndpointNameResolver;
+import org.servicemix.jbi.resolver.ServiceNameEndpointResolver;
+import org.servicemix.tck.ReceiverComponent;
+import org.servicemix.wsn.JAXBMarshaller;
+import org.w3._2005._03.addressing.AttributedURIType;
+import org.w3._2005._03.addressing.EndpointReferenceType;
+
+public class WSNComponentTest extends TestCase {
+	
+	public static QName NOTIFICATION_BROKER = QName.valueOf("{http://servicemix.org/wsnotification}NotificationBroker"); 
+	
+	private JBIContainer jbi;
+	private BrokerService broker;
+	private JAXBContext context;
+	
+	protected void setUp() throws Exception {
+		jbi = new JBIContainer();
+		jbi.setEmbedded(true);
+		jbi.init();
+		
+		broker = new BrokerService();
+		broker.setPersistent(false);
+		broker.addConnector("vm://localhost");
+		broker.start();
+
+		context = JAXBContext.newInstance(Subscribe.class, SubscribeResponse.class);
+	}
+	
+	protected void tearDown() throws Exception {
+		if (jbi != null) {
+			jbi.shutDown();
+		}
+		if (broker != null) {
+			broker.stop();
+		}
+	}
+	
+	public void testNB() throws Exception {
+		jbi.start();
+		
+		WSNComponent component = new WSNComponent();
+		component.setConnectionFactory(new ActiveMQConnectionFactory("vm://localhost"));
+		ActivationSpec as = new ActivationSpec();
+		as.setComponentName("broker");
+		as.setComponent(component);
+		jbi.activateComponent(as);
+		
+		ReceiverComponent receiver = new ReceiverComponent();
+		jbi.activateComponent(receiver, "receiver");
+		
+		DefaultServiceMixClient client = new DefaultServiceMixClient(jbi);
+		EndpointResolver resolver = new ServiceNameEndpointResolver(NOTIFICATION_BROKER);
+		client.setMarshaler(new JAXBMarshaller(context));
+		
+		Subscribe subscribeRequest = new Subscribe();
+		EndpointReferenceType consumerReference = new EndpointReferenceType();
+		consumerReference.setAddress(new AttributedURIType());
+		consumerReference.getAddress().setValue(ReceiverComponent.SERVICE.getNamespaceURI() + "/" + ReceiverComponent.SERVICE.getLocalPart() + "/" + ReceiverComponent.ENDPOINT);
+		subscribeRequest.setConsumerReference(consumerReference);
+		subscribeRequest.setFilter(new FilterType());
+		TopicExpressionType topic = new TopicExpressionType();
+		topic.getContent().add("myTopic");
+		subscribeRequest.getFilter().getAny().add(new JAXBElement<TopicExpressionType>(new QName("http://docs.oasis-open.org/wsn/b-1", "TopicExpression"), TopicExpressionType.class, topic));
+		SubscribeResponse subscribeResponse = (SubscribeResponse) client.request(resolver, null, null, subscribeRequest);
+		
+		Thread.sleep(500);
+		
+		Notify notify = new Notify();
+		NotificationMessageHolderType holder = new NotificationMessageHolderType();
+		holder.setTopic(topic);
+		holder.setMessage(new NotificationMessageHolderType.Message());
+		holder.getMessage().setAny(new Notify());
+		notify.getNotificationMessage().add(holder);
+		client.send(resolver, null, null, notify);
+		
+		receiver.getMessageList().assertMessagesReceived(1);
+		
+		// Wait for acks to be processed
+		Thread.sleep(50);
+	}
+
+	public void testPull() throws Exception {
+		jbi.start();
+		
+		WSNComponent component = new WSNComponent();
+		component.setConnectionFactory(new ActiveMQConnectionFactory("vm://localhost"));
+		ActivationSpec as = new ActivationSpec();
+		as.setComponentName("broker");
+		as.setComponent(component);
+		jbi.activateComponent(as);
+		
+		DefaultServiceMixClient client = new DefaultServiceMixClient(jbi);
+		EndpointResolver resolver = new ServiceNameEndpointResolver(NOTIFICATION_BROKER);
+		client.setMarshaler(new JAXBMarshaller(context));
+		
+		CreatePullPoint createPullPoint = new CreatePullPoint();
+		CreatePullPointResponse createPullPointResponse = (CreatePullPointResponse) client.request(resolver, null, null, createPullPoint);
+		
+		Subscribe subscribeRequest = new Subscribe();
+		subscribeRequest.setConsumerReference(createPullPointResponse.getPullPoint());
+		subscribeRequest.setFilter(new FilterType());
+		TopicExpressionType topic = new TopicExpressionType();
+		topic.getContent().add("myTopic");
+		subscribeRequest.getFilter().getAny().add(new JAXBElement<TopicExpressionType>(new QName("http://docs.oasis-open.org/wsn/b-1", "TopicExpression"), TopicExpressionType.class, topic));
+		SubscribeResponse subscribeResponse = (SubscribeResponse) client.request(resolver, null, null, subscribeRequest);
+		
+		// Wait for notification
+		Thread.sleep(500);
+		
+		Notify notify = new Notify();
+		NotificationMessageHolderType holder = new NotificationMessageHolderType();
+		holder.setTopic(topic);
+		holder.setMessage(new NotificationMessageHolderType.Message());
+		holder.getMessage().setAny(new Notify());
+		notify.getNotificationMessage().add(holder);
+		client.send(resolver, null, null, notify);
+		
+		// Wait for notification
+		Thread.sleep(500);
+		
+		String[] parts = split(createPullPointResponse.getPullPoint().getAddress().getValue());
+		resolver = new ServiceAndEndpointNameResolver(new QName(parts[0], parts[1]), parts[2]);
+		
+		GetMessages getMessages = new GetMessages();
+		GetMessagesResponse getMessagesResponse = (GetMessagesResponse) client.request(resolver, null, null, getMessages);
+
+		assertNotNull(getMessagesResponse);
+		assertNotNull(getMessagesResponse.getNotificationMessage());
+		assertEquals(1, getMessagesResponse.getNotificationMessage().size());
+		
+		// Wait for acks to be processed
+		Thread.sleep(50);
+	}
+
+    protected String[] split(String uri) {
+		char sep;
+		if (uri.indexOf('/') > 0) {
+			sep = '/';
+		} else {
+			sep = ':';
+		}
+		int idx1 = uri.lastIndexOf(sep);
+		int idx2 = uri.lastIndexOf(sep, idx1 - 1);
+		String epName = uri.substring(idx1 + 1);
+		String svcName = uri.substring(idx2 + 1, idx1);
+		String nsUri   = uri.substring(0, idx2);
+    	return new String[] { nsUri, svcName, epName };
+    }
+}

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/log4j.properties?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/log4j.properties (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/log4j.properties Mon Dec 19 14:08:30 2005
@@ -0,0 +1,21 @@
+#
+# The logging properties used during tests..
+#
+log4j.rootLogger=DEBUG, stdout
+
+#log4j.logger.org.activemq=INFO
+#log4j.logger.org.activemq.spring=WARN
+#log4j.logger.org.activemq.store.journal=INFO
+#log4j.logger.org.activeio.journal=INFO
+
+# CONSOLE appender not used by default
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+
+# File appender
+log4j.appender.out=org.apache.log4j.FileAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+log4j.appender.out.file=target/test-reports/activemq-test.log
+log4j.appender.out.append=true

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/component/subscribe.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/component/subscribe.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/component/subscribe.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/component/subscribe.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+  </wsnt:Filter>
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-abs-itt.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-abs-itt.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-abs-itt.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-abs-itt.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+    <wsnt:MessageContent Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">
+      boolean(ncex:Producer="15")
+    </wsnt:MessageContent>
+  </wsnt:Filter>
+  <wsnt:InitialTerminationTime>
+    2007-12-25T00:00:00.00000Z
+  </wsnt:InitialTerminationTime>
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-empty-itt.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-empty-itt.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-empty-itt.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-empty-itt.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+    <wsnt:MessageContent Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">
+      boolean(ncex:Producer="15")
+    </wsnt:MessageContent>
+  </wsnt:Filter>
+  <wsnt:InitialTerminationTime />
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-epr.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-epr.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-epr.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-epr.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <end-point-reference xmlns="http://java.sun.com/xml/ns/jbi" 
+        service-name="ncex:myService" end-point-name="myEndpoint" />
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+  </wsnt:Filter>
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-nil-itt.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-nil-itt.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-nil-itt.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-nil-itt.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+    <wsnt:MessageContent Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">
+      boolean(ncex:Producer="15")
+    </wsnt:MessageContent>
+  </wsnt:Filter>
+  <wsnt:InitialTerminationTime xsi:nil="true" />
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-itt.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-itt.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-itt.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-itt.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+    <wsnt:MessageContent Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">
+      boolean(ncex:Producer="15")
+    </wsnt:MessageContent>
+  </wsnt:Filter>
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-topic.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-topic.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-topic.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-no-topic.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+  </wsnt:Filter>
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-pp.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-pp.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-pp.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-pp.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+    <wsnt:ProducerProperties>
+    </wsnt:ProducerProperties>
+    <wsnt:MessageContent Dialect="http://www.w3.org/TR/1999/REC-xpath-19991116">
+      boolean(ncex:Producer="15")
+    </wsnt:MessageContent>
+  </wsnt:Filter>
+  <wsnt:SubscriptionPolicy>
+    <wsnt:UseRaw />
+  </wsnt:SubscriptionPolicy>
+</wsnt:Subscribe>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-raw.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-raw.xml?rev=357814&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-raw.xml (added)
+++ incubator/servicemix/trunk/servicemix-wsn2005/src/test/resources/org/servicemix/wsn/subscribe-raw.xml Mon Dec 19 14:08:30 2005
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<wsnt:Subscribe
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-1"
+  xmlns:wsa="http://www.w3.org/2005/03/addressing"
+  xmlns:ncex="http://www.consumer.org"
+  xmlns:npex="http://www.producer.org">
+  <wsnt:ConsumerReference>
+    <wsa:Address>
+      http://www.consumer.org/ConsumerEndpoint
+    </wsa:Address>
+  </wsnt:ConsumerReference>
+  <wsnt:Filter>
+    <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicExpression/Simple">
+      npex:SomeTopic
+    </wsnt:TopicExpression>
+  </wsnt:Filter>
+  <wsnt:SubscriptionPolicy>
+    <wsnt:UseRaw />
+  </wsnt:SubscriptionPolicy>
+</wsnt:Subscribe>
\ No newline at end of file



Mime
View raw message