You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2006/04/07 15:19:52 UTC

svn commit: r392282 [2/2] - in /incubator/servicemix/trunk/servicemix-common/src: main/java/org/apache/servicemix/common/ main/java/org/apache/servicemix/common/tools/ main/java/org/apache/servicemix/common/tools/wsdl/ test/java/org/ test/java/org/apac...

Added: incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/bw-2.wsdl
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/bw-2.wsdl?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/bw-2.wsdl (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/bw-2.wsdl Fri Apr  7 06:19:50 2006
@@ -0,0 +1,438 @@
+<?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 (2004-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-BaseNotification"
+  targetNamespace="http://docs.oasis-open.org/wsn/bw-2"
+  xmlns:wsntw="http://docs.oasis-open.org/wsn/bw-2"
+  xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
+  xmlns:wsa="http://www.w3.org/2005/08/addressing" 
+  xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ 
+<!-- ========================== Imports =========================== --> 
+ <wsdl:import 
+       namespace="http://docs.oasis-open.org/wsrf/rw-2" 
+       location="rw-2.wsdl"/>
+ 
+<!-- ===================== Types Definitions ====================== -->
+   <wsdl:types>
+     <xsd:schema>
+       <xsd:import
+         namespace="http://docs.oasis-open.org/wsn/b-2" 
+         schemaLocation="b-2.xsd"/>
+     </xsd:schema>
+   </wsdl:types>
+
+<!-- ================ NotificationConsumer::Notify ================ 
+  Notify(
+    NotificationMessage
+      (SubscriptionReference, TopicExpression, ProducerReference,
+       Message)*
+  returns: n/a (one way)
+-->
+  <wsdl:message name="Notify">
+    <wsdl:part name="Notify" element="wsnt:Notify"/>
+  </wsdl:message>
+
+<!-- ============== NotificationProducer::Subscribe =============== 
+  Subscribe(
+   (ConsumerEndpointReference, [Filter], [SubscriptionPolicy], 
+   [InitialTerminationTime])   
+  returns: WS-Resource qualified EPR to a Subscription
+-->
+   <wsdl:message name="SubscribeRequest" >
+     <wsdl:part name="SubscribeRequest" 
+                element="wsnt:Subscribe"/>
+   </wsdl:message>
+
+   <wsdl:message name="SubscribeResponse">
+      <wsdl:part name="SubscribeResponse" 
+                 element="wsnt:SubscribeResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="SubscribeCreationFailedFault">
+      <wsdl:part name="SubscribeCreationFailedFault"
+            element="wsnt:SubscribeCreationFailedFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="TopicExpressionDialectUnknownFault">
+      <wsdl:part name="TopicExpressionDialectUnknownFault"
+            element="wsnt:TopicExpressionDialectUnknownFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="InvalidFilterFault">
+      <wsdl:part name="InvalidFilterFault"
+            element="wsnt:InvalidFilterFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="InvalidProducerPropertiesExpressionFault">
+      <wsdl:part name="InvalidProducerPropertiesExpressionFault"
+            element="wsnt:InvalidProducerPropertiesExpressionFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="InvalidMessageContentExpressionFault">
+      <wsdl:part name="InvalidMessageContentExpressionFault"
+            element="wsnt:InvalidMessageContentExpressionFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="UnrecognizedPolicyRequestFault">
+      <wsdl:part name="UnrecognizedPolicyRequestFault"
+            element="wsnt:UnrecognizedPolicyRequestFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="UnsupportedPolicyRequestFault">
+      <wsdl:part name="UnsupportedPolicyRequestFault"
+            element="wsnt:UnsupportedPolicyRequestFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="NotifyMessageNotSupportedFault">
+      <wsdl:part name="NotifyMessageNotSupportedFault"
+            element="wsnt:NotifyMessageNotSupportedFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="UnacceptableInitialTerminationTimeFault">
+      <wsdl:part name="UnacceptableInitialTerminationTimeFault"
+            element="wsnt:UnacceptableInitialTerminationTimeFault"/>
+   </wsdl:message> 
+
+<!-- ========== NotificationProducer::GetCurrentMessage =========== 
+  GetCurrentMessage(topicExpression)
+  returns: a NotificationMessage (xsd:any)
+-->
+   <wsdl:message name="GetCurrentMessageRequest">
+      <wsdl:part name="GetCurrentMessageRequest" 
+            element="wsnt:GetCurrentMessage"/>
+   </wsdl:message>
+
+   <wsdl:message name="GetCurrentMessageResponse">
+      <wsdl:part name="GetCurrentMessageResponse" 
+            element="wsnt:GetCurrentMessageResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="InvalidTopicExpressionFault">
+      <wsdl:part name="InvalidTopicExpressionFault"
+            element="wsnt:InvalidTopicExpressionFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="TopicNotSupportedFault">
+      <wsdl:part name="TopicNotSupportedFault"
+            element="wsnt:TopicNotSupportedFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="MultipleTopicsSpecifiedFault">
+      <wsdl:part name="MultipleTopicsSpecifiedFault"
+            element="wsnt:MultipleTopicsSpecifiedFault" />
+   </wsdl:message> 
+
+   <wsdl:message name="NoCurrentMessageOnTopicFault">
+      <wsdl:part name="NoCurrentMessageOnTopicFault"
+            element="wsnt:NoCurrentMessageOnTopicFault" />
+   </wsdl:message> 
+
+<!-- ========== PullPoint::GetMessages =========== 
+  GetMessages(MaximumNumber)
+  returns: NotificationMessage list
+-->
+   <wsdl:message name="GetMessagesRequest">
+      <wsdl:part name="GetMessagesRequest" 
+            element="wsnt:GetMessages"/>
+   </wsdl:message>
+
+   <wsdl:message name="GetMessagesResponse">
+      <wsdl:part name="GetMessagesResponse" 
+            element="wsnt:GetMessagesResponse"/>
+   </wsdl:message>
+
+<!-- ========== PullPoint::DestroyPullPoint =========== 
+  DestroyPullPoint()
+  returns: void
+-->
+   <wsdl:message name="DestroyPullPointRequest">
+      <wsdl:part name="DestroyPullPointRequest" 
+            element="wsnt:DestroyPullPoint"/>
+   </wsdl:message>
+
+   <wsdl:message name="DestroyPullPointResponse">
+      <wsdl:part name="DestroyPullPointResponse" 
+            element="wsnt:DestroyPullPointResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="UnableToDestroyPullPointFault">
+      <wsdl:part name="UnableToDestroyPullPointFault"
+            element="wsnt:UnableToDestroyPullPointFault"/>
+   </wsdl:message> 
+
+<!-- ========== PullPoint::CreatePullPoint =========== 
+  CreatePullPoint()
+  returns: PullPoint (wsa:EndpointReference)
+-->
+   <wsdl:message name="CreatePullPointRequest">
+      <wsdl:part name="CreatePullPointRequest" 
+            element="wsnt:CreatePullPoint"/>
+   </wsdl:message>
+
+   <wsdl:message name="CreatePullPointResponse">
+      <wsdl:part name="CreatePullPointResponse" 
+            element="wsnt:CreatePullPointResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="UnableToCreatePullPointFault">
+      <wsdl:part name="UnableToCreatePullPointFault"
+            element="wsnt:UnableToCreatePullPointFault"/>
+   </wsdl:message> 
+
+<!-- ================ SubscriptionManager::Renew ==================
+   Renew( Duration | AbsoluteTime)
+   returns: (New Termination Time [CurrentTime])
+-->
+   <wsdl:message name="RenewRequest">
+      <wsdl:part name="RenewRequest" 
+                 element="wsnt:Renew"/>
+    </wsdl:message>
+
+   <wsdl:message name="RenewResponse">
+      <wsdl:part name="RenewResponse" 
+                 element="wsnt:RenewResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="UnacceptableTerminationTimeFault">
+      <wsdl:part name="UnacceptableTerminationTimeFault"
+            element="wsnt:UnacceptableTerminationTimeFault" />
+   </wsdl:message> 
+
+<!-- ============== SubscriptionManager::Unsubscribe ===============
+   Unsubscribe()
+   returns: empty
+-->
+   <wsdl:message name="UnsubscribeRequest">
+      <wsdl:part name="UnsubscribeRequest" 
+                 element="wsnt:Unsubscribe"/>
+    </wsdl:message>
+
+   <wsdl:message name="UnsubscribeResponse">
+      <wsdl:part name="UnsubscribeResponse" 
+                 element="wsnt:UnsubscribeResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="UnableToDestroySubscriptionFault">
+      <wsdl:part name="UnableToDestroySubscriptionFault"
+            element="wsnt:UnableToDestroySubscriptionFault" />
+   </wsdl:message>
+
+<!-- ========== SubscriptionManager::PauseSubscription ============
+   PauseSubscription()
+   returns: empty
+-->
+   <wsdl:message name="PauseSubscriptionRequest">
+      <wsdl:part name="PauseSubscriptionRequest" 
+                 element="wsnt:PauseSubscription"/>
+    </wsdl:message>
+
+   <wsdl:message name="PauseSubscriptionResponse">
+      <wsdl:part name="PauseSubscriptionResponse" 
+                 element="wsnt:PauseSubscriptionResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="PauseFailedFault">
+      <wsdl:part name="PauseFailedFault"
+            element="wsnt:PauseFailedFault" />
+   </wsdl:message> 
+
+<!-- ========= SubscriptionManager::ResumeSubscription ============
+   ResumeSubscription()
+   returns: empty
+-->
+   <wsdl:message name="ResumeSubscriptionRequest">
+      <wsdl:part name="ResumeSubscriptionRequest" 
+                 element="wsnt:ResumeSubscription"/>
+   </wsdl:message>
+
+   <wsdl:message name="ResumeSubscriptionResponse">
+      <wsdl:part name="ResumeSubscriptionResponse" 
+                 element="wsnt:ResumeSubscriptionResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="ResumeFailedFault">
+      <wsdl:part name="ResumeFailedFault"
+            element="wsnt:ResumeFailedFault" />
+   </wsdl:message> 
+      
+<!-- =================== PortType Definitions ===================== -->
+<!-- ========= NotificationConsumer PortType Definition =========== -->
+  <wsdl:portType name="NotificationConsumer">
+    <wsdl:operation name="Notify">
+      <wsdl:input message="wsntw:Notify" />
+    </wsdl:operation>
+  </wsdl:portType>
+  
+<!-- ========= NotificationProducer PortType Definition =========== -->
+  <wsdl:portType name="NotificationProducer">
+      <wsdl:operation name="Subscribe">
+         <wsdl:input  message="wsntw:SubscribeRequest" />
+         <wsdl:output message="wsntw:SubscribeResponse" />
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="InvalidFilterFault" 
+                   message="wsntw:InvalidFilterFault"/>
+         <wsdl:fault  name="TopicExpressionDialectUnknownFault" 
+                   message="wsntw:TopicExpressionDialectUnknownFault"/>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsntw:InvalidTopicExpressionFault" />
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsntw:TopicNotSupportedFault" />
+         <wsdl:fault  name="InvalidProducerPropertiesExpressionFault" 
+             message="wsntw:InvalidProducerPropertiesExpressionFault"/>
+         <wsdl:fault  name="InvalidMessageContentExpressionFault" 
+             message="wsntw:InvalidMessageContentExpressionFault"/>
+         <wsdl:fault  name="UnacceptableInitialTerminationTimeFault" 
+             message="wsntw:UnacceptableInitialTerminationTimeFault"/>
+         <wsdl:fault  name="UnrecognizedPolicyRequestFault" 
+             message="wsntw:UnrecognizedPolicyRequestFault"/>
+         <wsdl:fault  name="UnsupportedPolicyRequestFault" 
+             message="wsntw:UnsupportedPolicyRequestFault"/>
+         <wsdl:fault  name="NotifyMessageNotSupportedFault" 
+             message="wsntw:NotifyMessageNotSupportedFault"/>
+         <wsdl:fault  name="SubscribeCreationFailedFault" 
+                      message="wsntw:SubscribeCreationFailedFault"/>
+      </wsdl:operation>
+
+      <wsdl:operation name="GetCurrentMessage">
+         <wsdl:input  message="wsntw:GetCurrentMessageRequest"/>
+         <wsdl:output message="wsntw:GetCurrentMessageResponse"/>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="TopicExpressionDialectUnknownFault" 
+                   message="wsntw:TopicExpressionDialectUnknownFault"/>
+         <wsdl:fault  name="InvalidTopicExpressionFault" 
+                      message="wsntw:InvalidTopicExpressionFault" />
+         <wsdl:fault  name="TopicNotSupportedFault" 
+                      message="wsntw:TopicNotSupportedFault" />
+         <wsdl:fault  name="NoCurrentMessageOnTopicFault" 
+                      message="wsntw:NoCurrentMessageOnTopicFault" />
+         <wsdl:fault  name="MultipleTopicsSpecifiedFault" 
+                      message="wsntw:MultipleTopicsSpecifiedFault" />
+      </wsdl:operation>
+   </wsdl:portType>
+
+<!-- ========== PullPoint PortType Definition ===================== -->
+   <wsdl:portType name="PullPoint">
+      <wsdl:operation name="GetMessages">
+         <wsdl:input  name="GetMessagesRequest" 
+                      message="wsntw:GetMessagesRequest" />
+         <wsdl:output name="GetMessagesResponse" 
+                      message="wsntw:GetMessagesResponse" />
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+      </wsdl:operation>
+
+      <wsdl:operation name="DestroyPullPoint">
+         <wsdl:input  name="DestroyPullPointRequest" 
+                      message="wsntw:DestroyPullPointRequest" />
+         <wsdl:output name="DestroyPullPointResponse" 
+                      message="wsntw:DestroyPullPointResponse" />
+         <wsdl:fault  name="UnableToDestroyPullPointFault" 
+                      message="wsntw:UnableToDestroyPullPointFault" />
+      </wsdl:operation>
+
+      <wsdl:operation name="Notify">
+         <wsdl:input message="wsntw:Notify"/>
+      </wsdl:operation>
+   </wsdl:portType>
+
+<!-- ========== CreatePullPoint PortType Definition =============== -->
+   <wsdl:portType name="CreatePullPoint">
+      <wsdl:operation name="CreatePullPoint">
+         <wsdl:input  name="CreatePullPointRequest" 
+                      message="wsntw:CreatePullPointRequest" />
+         <wsdl:output name="CreatePullPointResponse" 
+                      message="wsntw:CreatePullPointResponse" />
+         <wsdl:fault  name="UnableToCreatePullPointFault" 
+                      message="wsntw:UnableToCreatePullPointFault" />
+      </wsdl:operation>
+   </wsdl:portType>
+
+<!-- ========== SubscriptionManager PortType Definition =========== -->
+   <wsdl:portType name="SubscriptionManager">
+      <wsdl:operation name="Renew">
+         <wsdl:input  name="RenewRequest" 
+                      message="wsntw:RenewRequest" />
+         <wsdl:output name="RenewResponse" 
+                      message="wsntw:RenewResponse" />
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="UnacceptableTerminationTimeFault" 
+                      message=
+                      "wsntw:UnacceptableTerminationTimeFault" />     
+      </wsdl:operation>
+      <wsdl:operation name="Unsubscribe">
+         <wsdl:input  name="UnsubscribeRequest" 
+                      message="wsntw:UnsubscribeRequest" />
+         <wsdl:output name="UnsubscribeResponse" 
+                      message="wsntw:UnsubscribeResponse" />
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="UnableToDestroySubscriptionFault" 
+                      message=
+                      "wsntw:UnableToDestroySubscriptionFault" />     
+      </wsdl:operation>
+    </wsdl:portType> 
+
+<!-- ====== PausableSubscriptionManager PortType Definition ======= -->
+   <wsdl:portType name="PausableSubscriptionManager">
+      <!-- ============== Extends: SubscriptionManager ============ -->
+      <wsdl:operation name="Renew">
+         <wsdl:input  name="RenewRequest" 
+                      message="wsntw:RenewRequest" />
+         <wsdl:output name="RenewResponse" 
+                      message="wsntw:RenewResponse" />
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="UnacceptableTerminationTimeFault" 
+                      message=
+                      "wsntw:UnacceptableTerminationTimeFault" />     
+      </wsdl:operation>
+      <wsdl:operation name="Unsubscribe">
+         <wsdl:input  name="UnsubscribeRequest" 
+                      message="wsntw:UnsubscribeRequest" />
+         <wsdl:output name="UnsubscribeResponse" 
+                      message="wsntw:UnsubscribeResponse" />
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="UnableToDestroySubscriptionFault" 
+                      message=
+                      "wsntw:UnableToDestroySubscriptionFault" />     
+      </wsdl:operation>
+
+      <!-- === PausableSubscriptionManager specific operations === -->
+      <wsdl:operation name="PauseSubscription">
+         <wsdl:input  message="wsntw:PauseSubscriptionRequest"/>
+         <wsdl:output message="wsntw:PauseSubscriptionResponse"/>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="PauseFailedFault"
+                      message="wsntw:PauseFailedFault" />        
+      </wsdl:operation>
+      <wsdl:operation name="ResumeSubscription">
+         <wsdl:input  message="wsntw:ResumeSubscriptionRequest"/>
+         <wsdl:output message="wsntw:ResumeSubscriptionResponse"/>
+         <wsdl:fault  name="ResourceUnknownFault" 
+                      message="wsrf-rw:ResourceUnknownFault" />
+         <wsdl:fault  name="ResumeFailedFault"
+                      message="wsntw:ResumeFailedFault" />        
+      </wsdl:operation>        
+   </wsdl:portType>
+</wsdl:definitions>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/r-2.xsd
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/r-2.xsd?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/r-2.xsd (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/r-2.xsd Fri Apr  7 06:19:50 2006
@@ -0,0 +1,50 @@
+<?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.
+
+-->
+<xsd:schema 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+  xmlns:wsrf-r="http://docs.oasis-open.org/wsrf/r-2"
+  xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  elementFormDefault="qualified" attributeFormDefault="unqualified" 
+  targetNamespace="http://docs.oasis-open.org/wsrf/r-2" 
+>
+ 
+  <xsd:import 
+     namespace=
+  "http://docs.oasis-open.org/wsrf/bf-2"
+     schemaLocation="bf-2.xsd"
+  />
+
+<!-- ====================== WS-Resource fault types ============= -->
+ 
+      <xsd:complexType name="ResourceUnknownFaultType">
+         <xsd:complexContent>
+            <xsd:extension base="wsrf-bf:BaseFaultType"/>
+         </xsd:complexContent>
+      </xsd:complexType>
+      <xsd:element name="ResourceUnknownFault" 
+                   type="wsrf-r:ResourceUnknownFaultType"/>
+
+      <xsd:complexType name="ResourceUnavailableFaultType">
+         <xsd:complexContent>
+            <xsd:extension base="wsrf-bf:BaseFaultType"/>
+         </xsd:complexContent>
+      </xsd:complexType>
+      <xsd:element name="ResourceUnavailableFault" 
+                   type="wsrf-r:ResourceUnavailableFaultType"/>
+</xsd:schema>
+

Added: incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/rw-2.wsdl
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/rw-2.wsdl?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/rw-2.wsdl (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/rw-2.wsdl Fri Apr  7 06:19:50 2006
@@ -0,0 +1,54 @@
+<?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-2" 
+  xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2" 
+  targetNamespace="http://docs.oasis-open.org/wsrf/rw-2" 
+>
+  
+<!-- ===================== Types Definitions ====================== -->
+   <wsdl:types>
+     <xsd:schema 
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+        targetNamespace="http://docs.oasis-open.org/wsrf/rw-2"
+        elementFormDefault="qualified" 
+        attributeFormDefault="unqualified">
+
+       <xsd:import 
+         namespace="http://docs.oasis-open.org/wsrf/r-2"
+         schemaLocation="r-2.xsd"
+       /> 
+       
+     </xsd:schema>
+   </wsdl:types>
+
+<!-- ================= WS-Resource faults ========================= -->
+  <wsdl:message name="ResourceUnknownFault">
+     <part name="ResourceUnknownFault"
+           element="wsrf-r:ResourceUnknownFault" />
+  </wsdl:message> 
+
+  <wsdl:message name="ResourceUnavailableFault">
+     <part name="ResourceUnavailableFault"
+           element="wsrf-r:ResourceUnavailableFault" />
+  </wsdl:message> 
+
+</wsdl:definitions>
+

Added: incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/t-1.xsd
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/t-1.xsd?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/t-1.xsd (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/t-1.xsd Fri Apr  7 06:19:50 2006
@@ -0,0 +1,185 @@
+<?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 (2004-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.
+
+-->
+
+
+<xsd:schema 
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
+  xmlns:wstop = "http://docs.oasis-open.org/wsn/t-1"
+  targetNamespace = "http://docs.oasis-open.org/wsn/t-1"   
+  elementFormDefault="qualified"  attributeFormDefault="unqualified">
+
+<!-- =============== utility type definitions  ==================== -->
+  <xsd:complexType name="Documentation" mixed="true">
+    <xsd:sequence>
+      <xsd:any processContents="lax" minOccurs="0" 
+               maxOccurs="unbounded" namespace="##any"/>
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="ExtensibleDocumented" abstract="true" 
+                   mixed="false">
+    <xsd:sequence>
+      <xsd:element name="documentation" type="wstop:Documentation" 
+                   minOccurs="0" />
+    </xsd:sequence>
+    <xsd:anyAttribute namespace="##other" processContents="lax" />
+</xsd:complexType>
+
+<xsd:complexType name="QueryExpressionType" mixed="true">
+  <xsd:sequence>
+    <xsd:any minOccurs="0" maxOccurs="1" processContents="lax" />
+  </xsd:sequence>
+  <xsd:attribute name="Dialect" type="xsd:anyURI" use="required"/>
+</xsd:complexType>
+
+<!-- ================== Topic-Namespace Related  ================ -->   
+  <xsd:complexType name="TopicNamespaceType">
+    <xsd:complexContent>
+       <xsd:extension base="wstop:ExtensibleDocumented">
+         <xsd:sequence>
+           <xsd:element name="Topic" 
+                        minOccurs="0" maxOccurs="unbounded">
+              <xsd:complexType>
+              	<xsd:complexContent>
+              	  <xsd:extension base="wstop:TopicType">
+              	    <xsd:attribute name="parent" type="wstop:ConcreteTopicExpression" />
+              	  </xsd:extension>
+              	</xsd:complexContent>
+              </xsd:complexType>
+           </xsd:element>   
+           <xsd:any namespace="##other" 
+                    minOccurs="0" maxOccurs="unbounded" 
+                    processContents="lax"/>
+         </xsd:sequence>
+         <xsd:attribute name="name" type="xsd:NCName"/>
+         <xsd:attribute name="targetNamespace" type="xsd:anyURI" 
+                        use="required"/>
+         <xsd:attribute name="final" type="xsd:boolean" 
+                                     default="false"/>
+       </xsd:extension>
+     </xsd:complexContent> 
+   </xsd:complexType>
+
+  <xsd:element name="TopicNamespace" type="wstop:TopicNamespaceType">
+    <xsd:unique name="rootTopicUniqueness">
+      <xsd:selector xpath="wstop:Topic"/>
+        <xsd:field xpath="@name"/>
+    </xsd:unique>
+  </xsd:element>
+  
+  <xsd:attribute name="topicNamespaceLocation" type="xsd:anyURI"/>
+
+
+
+<!-- ===================== Topic Related  ========================= -->   
+
+  <xsd:complexType name="TopicType">
+    <xsd:complexContent>
+      <xsd:extension base="wstop:ExtensibleDocumented">
+        <xsd:sequence>
+          <xsd:element name="MessagePattern" 
+                       type="wstop:QueryExpressionType" 
+                       minOccurs="0" maxOccurs="1" />
+          <xsd:element name="Topic" type="wstop:TopicType" 
+                       minOccurs="0" maxOccurs="unbounded">
+            <xsd:unique name="childTopicUniqueness">
+              <xsd:selector xpath="wstop:topic"/>
+              <xsd:field xpath="@name"/>
+            </xsd:unique>
+          </xsd:element>
+          <xsd:any namespace="##other" minOccurs="0" 
+                                       maxOccurs="unbounded"/>
+        </xsd:sequence>
+        <xsd:attribute name="name" use="required" type="xsd:NCName"/>
+        <xsd:attribute name="messageTypes">
+          <xsd:simpleType>
+            <xsd:list itemType="xsd:QName"/>
+          </xsd:simpleType>
+        </xsd:attribute>
+        <xsd:attribute name="final" type="xsd:boolean" 
+                                     default="false"/>
+      </xsd:extension>
+    </xsd:complexContent>  
+  </xsd:complexType>
+
+<!-- ================ Topic Set Related  =================== -->   
+  
+  <xsd:complexType name="TopicSetType">
+    <xsd:complexContent>
+       <xsd:extension base="wstop:ExtensibleDocumented">
+         <xsd:sequence>
+           <xsd:any namespace="##other" 
+                    minOccurs="0" maxOccurs="unbounded" 
+                    processContents="lax"/>
+         </xsd:sequence>
+       </xsd:extension>
+     </xsd:complexContent> 
+   </xsd:complexType>
+
+  <xsd:element name="TopicSet" type="wstop:TopicSetType"/>
+<xsd:attribute name="topic" type="xsd:boolean" default="false"/>
+
+<!-- ================ Topic Expression Related  =================== -->   
+  
+  <xsd:simpleType name="FullTopicExpression">
+    <xsd:restriction base="xsd:token">
+      <xsd:annotation>
+        <xsd:documentation>
+        TopicPathExpression  ::=   TopicPath ( '|' TopicPath )*  
+        TopicPath       ::=   RootTopic ChildTopicExpression* 
+        RootTopic       ::=   NamespacePrefix? ('//')? (NCName | '*')  
+        NamespacePrefix ::=   NCName ':'      
+        ChildTopicExpression ::=   '/' '/'? (QName | NCName | '*'| '.')
+                        
+        </xsd:documentation>
+      </xsd:annotation>
+      <xsd:pattern value= 
+         "([\i-[:]][\c-[:]]*:)?(//)?([\i-[:]][\c-[:]]*|\*)((/|//)(([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*|\*|[.]))*(\|([\i-[:]][\c-[:]]*:)?(//)?([\i-[:]][\c-[:]]*|\*)((/|//)(([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*|\*|[.]))*)*">
+      </xsd:pattern>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <xsd:simpleType name="ConcreteTopicExpression">
+    <xsd:restriction base="xsd:token">
+      <xsd:annotation>
+        <xsd:documentation>
+  The pattern allows strings matching the following EBNF:
+    ConcreteTopicPath    ::=   RootTopic ChildTopic*    
+    RootTopic            ::=   QName  
+    ChildTopic           ::=   '/' (QName | NCName) 
+                        
+        </xsd:documentation>
+      </xsd:annotation>
+      <xsd:pattern value=
+"(([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*)(/([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*)*" >
+      </xsd:pattern>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+  <xsd:simpleType name="SimpleTopicExpression">
+    <xsd:restriction base="xsd:QName">
+      <xsd:annotation>
+        <xsd:documentation>
+  The pattern allows strings matching the following EBNF:
+    RootTopic            ::=   QName  
+                        
+        </xsd:documentation>
+      </xsd:annotation>
+    </xsd:restriction>
+  </xsd:simpleType>
+
+</xsd:schema>
\ No newline at end of file

Added: incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/ws-addr.xsd
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/ws-addr.xsd?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/ws-addr.xsd (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/ws-addr.xsd Fri Apr  7 06:19:50 2006
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE xs:schema PUBLIC "-//W3C//DTD XMLSCHEMA 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd">
+<!--
+    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
+
+   $Id: ws-addr.xsd,v 1.3 2005/08/09 13:17:35 hugo Exp $
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2005/08/addressing" targetNamespace="http://www.w3.org/2005/08/addressing" blockDefault="#all" elementFormDefault="qualified" finalDefault="" attributeFormDefault="unqualified">
+	
+	<!-- Constructs from the WS-Addressing Core -->
+
+	<xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
+	<xs:complexType name="EndpointReferenceType" mixed="false">
+		<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" mixed="false">
+		<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" mixed="false">
+		<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" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/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/08/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" mixed="false">
+		<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:InvalidAddressingHeader"/>
+			<xs:enumeration value="tns:InvalidAddress"/>
+			<xs:enumeration value="tns:InvalidEPR"/>
+			<xs:enumeration value="tns:InvalidCardinality"/>
+			<xs:enumeration value="tns:MissingAddressInEPR"/>
+			<xs:enumeration value="tns:DuplicateMessageID"/>
+			<xs:enumeration value="tns:ActionMismatch"/>
+			<xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
+			<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:AttributedUnsignedLongType"/>
+	<xs:complexType name="AttributedUnsignedLongType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:unsignedLong">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
+	<xs:complexType name="AttributedQNameType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<xs:element name="ProblemHeader" type="tns:AttributedAnyType"/>
+	<xs:complexType name="AttributedAnyType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="1" maxOccurs="1"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
+	
+	<xs:element name="ProblemAction" type="tns:ProblemActionType"/>
+	<xs:complexType name="ProblemActionType" mixed="false">
+		<xs:sequence>
+			<xs:element ref="tns:Action" minOccurs="0"/>
+			<xs:element name="SoapAction" minOccurs="0" type="xs:anyURI"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+</xs:schema>

Added: incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/wsn.wsdl
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/wsn.wsdl?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/wsn.wsdl (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/wsn.wsdl Fri Apr  7 06:19:50 2006
@@ -0,0 +1,464 @@
+<?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/08/addressing"
+	xmlns:wsn-br="http://docs.oasis-open.org/wsn/br-2"
+	xmlns:wsn-brw="http://docs.oasis-open.org/wsn/brw-2"
+	xmlns:wsn-b="http://docs.oasis-open.org/wsn/b-2"
+	xmlns:wsn-bw="http://docs.oasis-open.org/wsn/bw-2"
+	xmlns:wsrf-bf="http://docs.oasis-open.org/wsrf/bf-2"
+	xmlns:wsrf-rw="http://docs.oasis-open.org/wsrf/rw-2"
+	xmlns:tns="http://servicemix.apache.org/wsn/jaxws"
+	targetNamespace="http://servicemix.apache.org/wsn/jaxws">
+
+	<wsdl:import namespace="http://docs.oasis-open.org/wsn/bw-2"
+		location="bw-2.wsdl">
+	</wsdl:import>
+
+	<wsdl:import namespace="http://docs.oasis-open.org/wsn/brw-2"
+		location="brw-2.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>
+				<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>
+				<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="SubscribeCreationFailedFault">
+				<soap:fault use="literal"
+					name="SubscribeCreationFailedFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="GetCurrentMessage">
+			<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="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="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>
+				<soap:body use="literal" />
+			</wsdl:input>
+		</wsdl:operation>
+		<wsdl:operation name="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="SubscribeCreationFailedFault">
+				<soap:fault use="literal"
+					name="SubscribeCreationFailedFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="GetCurrentMessage">
+			<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="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="NoCurrentMessageOnTopicFault">
+				<soap:fault use="literal"
+					name="NoCurrentMessageOnTopicFault" />
+			</wsdl:fault>
+			<wsdl:fault name="MultipleTopicsSpecifiedFault">
+				<soap:fault use="literal"
+					name="MultipleTopicsSpecifiedFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="RegisterPublisher">
+			<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="InvalidTopicExpressionFault">
+				<soap:fault use="literal"
+					name="InvalidTopicExpressionFault" />
+			</wsdl:fault>
+			<wsdl:fault name="TopicNotSupportedFault">
+				<soap:fault use="literal" name="TopicNotSupportedFault" />
+			</wsdl:fault>
+			<wsdl:fault name="PublisherRegistrationRejectedFault">
+				<soap:fault use="literal"
+					name="PublisherRegistrationRejectedFault" />
+			</wsdl:fault>
+			<wsdl:fault name="PublisherRegistrationFailedFault">
+				<soap:fault use="literal"
+					name="PublisherRegistrationFailedFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<!-- 
+		<wsdl:operation name="CreatePullPoint">
+			<wsdl:input name="CreatePullPointRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="CreatePullPointResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="UnableToCreatePullPoint">
+				<soap:fault use="literal"
+					name="UnableToCreatePullPoint" />
+			</wsdl:fault>
+			<wsdl:fault name="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">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="RenewResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault use="literal" name="ResourceUnknownFault" />
+			</wsdl:fault>
+			<wsdl:fault name="UnacceptableTerminationTimeFault">
+				<soap:fault use="literal"
+					name="UnacceptableTerminationTimeFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="Unsubscribe">
+			<wsdl:input name="UsubscribeRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="UnsubscribeResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault use="literal" name="ResourceUnknownFault" />
+			</wsdl:fault>
+			<wsdl:fault name="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">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="RenewResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault use="literal" name="ResourceUnknownFault" />
+			</wsdl:fault>
+			<wsdl:fault name="UnacceptableTerminationTimeFault">
+				<soap:fault use="literal"
+					name="UnacceptableTerminationTimeFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="Unsubscribe">
+			<wsdl:input name="UsubscribeRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="UnsubscribeResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault use="literal" name="ResourceUnknownFault" />
+			</wsdl:fault>
+			<wsdl:fault name="UnableToDestroySubscriptionFault">
+				<soap:fault use="literal"
+					name="UnableToDestroySubscriptionFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<!-- === PausableSubscriptionManager specific operations === -->
+		<wsdl:operation name="PauseSubscription">
+			<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="PauseFailedFault">
+				<soap:fault use="literal" name="PauseFailedFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="ResumeSubscription">
+			<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="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="DestroyRegistration">
+			<wsdl:input name="DestroyRegistrationRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="DestroyRegistrationResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault use="literal" name="ResourceUnknownFault" />
+			</wsdl:fault>
+			<wsdl:fault name="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">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="CreatePullPointResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="UnableToCreatePullPointFault">
+				<soap:fault use="literal"
+					name="UnableToCreatePullPointFault" />
+			</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">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="GetMessagesResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="ResourceUnknownFault">
+				<soap:fault use="literal" name="ResourceUnknownFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="DestroyPullPoint">
+			<wsdl:input name="DestroyPullPointRequest">
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output name="DestroyPullPointResponse">
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="UnableToDestroyPullPointFault">
+				<soap:fault use="literal"
+					name="UnableToDestroyPullPointFault" />
+			</wsdl:fault>
+		</wsdl:operation>
+		<wsdl:operation name="Notify">
+            <wsdl:input>
+				<soap:body use="literal" />
+            </wsdl:input>
+		</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-common/src/test/resources/wsn/xml.xsd
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/xml.xsd?rev=392282&view=auto
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/xml.xsd (added)
+++ incubator/servicemix/trunk/servicemix-common/src/test/resources/wsn/xml.xsd Fri Apr  7 06:19:50 2006
@@ -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