You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-dev@ws.apache.org by ip...@apache.org on 2004/12/22 00:34:50 UTC

svn commit: r123019 - in incubator/hermes/trunk: . src/java/org src/java/org/apache src/java/org/apache/ws src/java/org/apache/ws/notification src/java/org/apache/ws/notification/base src/java/org/apache/ws/notification/base/porttype src/java/org/apache/ws/notification/base/porttype/impl src/java/org/apache/ws/notification/topics wsn-xbeans wsn-xbeans/src wsn-xbeans/src/wsdl wsn-xbeans/src/wsdl/wsa wsn-xbeans/src/wsdl/wsn

Author: ips
Date: Tue Dec 21 15:34:48 2004
New Revision: 123019

URL: http://svn.apache.org/viewcvs?view=rev&rev=123019
Log:
interfaces and wsdls
Added:
   incubator/hermes/trunk/BUILD.txt
   incubator/hermes/trunk/LICENSE.txt
   incubator/hermes/trunk/src/java/org/
   incubator/hermes/trunk/src/java/org/apache/
   incubator/hermes/trunk/src/java/org/apache/ws/
   incubator/hermes/trunk/src/java/org/apache/ws/notification/
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/Topic.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicList.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListAccessor.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListener.java
   incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListenerList.java
   incubator/hermes/trunk/wsn-xbeans/
   incubator/hermes/trunk/wsn-xbeans/maven.xml
   incubator/hermes/trunk/wsn-xbeans/project.properties
   incubator/hermes/trunk/wsn-xbeans/project.xml
   incubator/hermes/trunk/wsn-xbeans/src/
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsa/
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.wsdl
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.xsd
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.wsdl
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.xsd
   incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-Topics-1_2.xsd
Modified:
   incubator/hermes/trunk/project.xml

Added: incubator/hermes/trunk/BUILD.txt
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/BUILD.txt?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/BUILD.txt	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,28 @@
+Building the Hermes jar and running the unit tests
+--------------------------------------------------
+1) Install Maven as desribed below.
+2) cd to the Muse install dir.
+3) Run 'maven jar'.
+
+Building the Hermes distribution zipfiles
+-----------------------------------------
+1) Install Maven as described below.
+2) Install Forrest as described below.
+3) cd to the Hermes install dir.
+4) Run 'maven dist'. (Note: this can take five minutes or longer to complete)
+
+Installing Maven
+----------------
+1) Download Maven 1.0.x from http://maven.apache.org/ and unzip it to
+   your hard drive.
+2) Set the MAVEN_HOME environment variable to the dir where you installed
+   Maven (i.e. /opt/maven-1.0.x).
+3) Add <MAVEN_HOME>/bin to your PATH environment variable.
+      
+Installing Forrest
+------------------
+1) Download Forrest 0.6 from http://forrest.apache.org/ and unzip it to
+   your hard drive.
+2) Set the FORREST_HOME environment variable to the src/core subdir of
+   the dir where you installed Forrest (i.e. /opt/forrest-0.6/src/core).
+3) Add <FORREST_HOME>/bin to your PATH environment variable.

Added: incubator/hermes/trunk/LICENSE.txt
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/LICENSE.txt?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/LICENSE.txt	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,175 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.

Modified: incubator/hermes/trunk/project.xml
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/project.xml?view=diff&rev=123019&p1=incubator/hermes/trunk/project.xml&r1=123018&p2=incubator/hermes/trunk/project.xml&r2=123019
==============================================================================
--- incubator/hermes/trunk/project.xml	(original)
+++ incubator/hermes/trunk/project.xml	Tue Dec 21 15:34:48 2004
@@ -261,6 +261,18 @@
                 <war.bundle>true</war.bundle>                
             </properties>
         </dependency>
+
+        <dependency> 
+      <groupId>hermes</groupId>
+      <artifactId>wsn-xbeans</artifactId>
+      <version>SNAPSHOT</version>
+      <url>http://incubator.apache.org/hermes/</url>
+      <properties>
+        <license>ApacheLicense-2.0.txt</license>
+        <usage>XMLBeans for WSN spec types</usage>
+        <war.bundle>true</war.bundle>
+      </properties>
+        </dependency>
                        
         <dependency>
             <groupId>jaxen</groupId>

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/Subscription.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,117 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.base;
+
+import org.apache.axis.message.addressing.EndpointReferenceType;
+import org.apache.ws.resource.lifetime.ScheduledResourceTerminationResource;
+import org.apache.ws.resource.Resource;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType;
+import org.oasisOpen.docs.wsrf.x2004.x06.wsrfWSResourceProperties12Draft01.QueryExpressionType;
+
+import java.util.Calendar;
+
+/**
+ * Interface to be implemented by subscription resources. Exposes the information
+ * associated with a subscription request, as well as resource lifetime-related
+ * state.
+ */
+public interface Subscription extends ScheduledResourceTerminationResource
+{
+    /**
+     * Is the subscription paused?
+     *
+     * @return True if the subscription is paused, false if not.
+     */
+    boolean isPaused();
+
+    /**
+     * Pause the subscription
+     *
+     * @throws Exception
+     */
+    void pause() throws Exception;
+
+    /**
+     * Resume the subscription
+     *
+     * @throws Exception
+     */
+    void resume() throws Exception;
+
+    /**
+     * Get the consumer endpoint reference associated with this subscription
+     *
+     * @return The consumer endpoint reference
+     */
+    EndpointReferenceType getConsumerReference();
+
+    /**
+     * Get the producer endpoint reference associated with this subscription
+     *
+     * @return The producer endpoint reference
+     */
+    EndpointReferenceType getProducerReference();
+
+    /**
+     * Get the topic expression associated with this subscription
+     *
+     * @return The topic expression
+     */
+    TopicExpressionType getTopicExpression();
+
+    /**
+     * Get the precondition associated with this subscription
+     *
+     * @return The precondition. May be null if no precondition was specified in the subscription.
+     */
+    QueryExpressionType getPrecondition();
+
+    /**
+     * Get the selector expression associated with this subscription
+     *
+     * @return The selector. May be null if no selector was specified in the subscription.
+     */
+    QueryExpressionType getSelector();
+
+    /**
+     * Get the policy associated with this subscription
+     *
+     * @return The policy. May be null if no policy was specified in the subscription.
+     */
+    Object getSubscriptionPolicy();
+
+    /**
+     * Wrap notification messages in the notify element?
+     *
+     * @return True (default) if notify should be used, false if not.
+     */
+    boolean getUseNotify();
+
+    /**
+     * Get the producing resource
+     *
+     * @return The producing resource
+     */
+    Resource getResource() throws Exception;
+
+    /**
+     * Get the time at which the resource was created.
+     *
+     * @return The creation time
+     */
+    public Calendar getCreationTime();
+
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationConsumerPortType.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,31 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.base.porttype;
+
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.NotifyDocument;
+
+/**
+ * The WS-BaseNotification NotificationConsumer portType.
+ */
+public interface NotificationConsumerPortType
+{
+
+    /**
+     * @param requestDoc
+     */
+    void subscribe( NotifyDocument requestDoc );
+
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/NotificationProducerPortType.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,43 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.base.porttype;
+
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageDocument;
+
+/**
+ * The WS-BaseNotification NotificationProducer portType.
+ */
+public interface NotificationProducerPortType
+{
+
+    /**
+     *
+     * @param requestDoc
+     * @return
+     */
+    SubscribeResponseDocument subscribe( SubscribeDocument requestDoc );
+
+    /**
+     *
+     * @param requestDoc
+     * @return
+     */
+    GetCurrentMessageResponseDocument getCurrentMessage( GetCurrentMessageDocument requestDoc );
+
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/SubscriptionManagerPortType.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,43 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.base.porttype;
+
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionDocument;
+
+/**
+ * The WS-BaseNotification SubscriptionManager portType.
+ */
+public interface SubscriptionManagerPortType
+{
+
+    /**
+     * 
+     * @param requestDoc
+     * @return
+     */
+    PauseSubscriptionResponseDocument pauseSubscription( PauseSubscriptionDocument requestDoc );
+
+    /**
+     *
+     * @param requestDoc
+     * @return
+     */
+    ResumeSubscriptionResponseDocument resumeSubscription( ResumeSubscriptionDocument requestDoc );
+
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/NotificationProducerPortTypeImpl.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,43 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.base.porttype.impl;
+
+import org.apache.ws.notification.base.porttype.NotificationProducerPortType;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.SubscribeDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.GetCurrentMessageDocument;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public class NotificationProducerPortTypeImpl implements NotificationProducerPortType
+{
+
+    public SubscribeResponseDocument subscribe( SubscribeDocument requestDoc )
+    {
+        // TODO
+        return null;
+    }
+
+    public GetCurrentMessageResponseDocument getCurrentMessage( GetCurrentMessageDocument requestDoc )
+    {
+        // TODO
+        return null;
+    }
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/base/porttype/impl/SubscriptionManagerPortTypeImpl.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,43 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.base.porttype.impl;
+
+import org.apache.ws.notification.base.porttype.SubscriptionManagerPortType;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.PauseSubscriptionDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionResponseDocument;
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.ResumeSubscriptionDocument;
+
+/**
+ * TODO
+ *
+ * @author Ian Springer (ian DOT springer AT hp DOT com)
+ */
+public class SubscriptionManagerPortTypeImpl implements SubscriptionManagerPortType
+{
+
+    public PauseSubscriptionResponseDocument pauseSubscription( PauseSubscriptionDocument requestDoc )
+    {
+        // TODO
+        return null;
+    }
+
+    public ResumeSubscriptionResponseDocument resumeSubscription( ResumeSubscriptionDocument requestDoc )
+    {
+        // TODO
+        return null;
+    }
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/Topic.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/Topic.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/Topic.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,123 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.topics;
+
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType;
+
+import javax.xml.namespace.QName;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * Interface for representing a topic. A topic is either a child of a parent topic or in the case of root topics a
+ * member of a topic list. Non-root topics have names without a namespace component.
+ *
+ * @see TopicList
+ */
+public interface Topic extends TopicListenerList
+{
+    /**
+     * Add a sub-topic.
+     *
+     * @param topic The sub-topic to add
+     *
+     * @throws Exception
+     */
+    void addTopic( Topic topic ) throws Exception;
+
+    /**
+     * Remove a sub-topic
+     *
+     * @param topic The sub-topic to remove
+     */
+    void removeTopic( Topic topic );
+
+    /**
+     * Get the sub-topic with the given topic name
+     *
+     * @param topicName The topic name of the sub topic
+     *
+     * @return The sub-topic
+     */
+    Topic getTopic( QName topicName );
+
+    /**
+     * Set the topic expression that resolves to a set of topics that this topic references. Only used for reference
+     * topics.
+     *
+     * @param topicPath The topic expression to set.
+     */
+    void setTopicReference( TopicExpressionType topicPath );
+
+    /**
+     * Get the topic expression for the topic(s) that this topic references.
+     *
+     * @return The topic expression that this topic reference or null if this topic is not a reference.
+     */
+    TopicExpressionType getTopicReference();
+
+    /**
+     * Set the topic path. The topic path is represented as a ordered list of topic names
+     *
+     * @param topicPath The topic path to associate with this topic
+     */
+    void setTopicPath( List topicPath );
+
+    /**
+     * Get the topic path. The topic path is represented as a ordered list of topic names
+     *
+     * @return The topic path of this topic
+     */
+    List getTopicPath();
+
+    /**
+     * Get the name of the topic. Only root topics should actually be qualified names, other topic should be
+     * non-qualified
+     *
+     * @return The name of the topic
+     */
+    QName getName();
+
+    /**
+     * Get the current notification message if there is any
+     *
+     * @return A object containing the current message, may be null
+     */
+    Object getCurrentMessage();
+
+    /**
+     * Send out a notification on this topic
+     *
+     * @param obj Object representation of the message to send
+     *
+     * @throws Exception
+     */
+    void notify( Object obj ) throws Exception;
+
+    /**
+     * Is this a topic reference?
+     *
+     * @return true if this topic is a reference to another topic false if not
+     */
+    boolean isReference();
+
+    /**
+     * Iterator for the set of child topics
+     *
+     * @return The iterator
+     */
+    Iterator topicIterator();
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicList.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicList.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicList.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,83 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.topics;
+
+import org.oasisOpen.docs.wsn.x2004.x06.wsnWSBaseNotification12Draft01.TopicExpressionType;
+
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+
+/**
+ * Interface for managing and performing queries on a set of root topics.
+ */
+public interface TopicList extends TopicListenerList
+{
+    /**
+     * Add a root topic
+     *
+     * @param topic The topic to add
+     */
+    void addTopic( Topic topic );
+
+    /**
+     * Remove the root topic
+     *
+     * @param topic The topic to remove
+     */
+    void removeTopic( Topic topic );
+
+    /**
+     * Get the set of topics the given topic expression resolves to
+     *
+     * @param topicExpression The topic expression to resolve to a set of topics
+     *
+     * @return The resulting set of topics
+     *
+     * @throws UnsupportedTopicExpressionDialectException
+     *                                  if the topic expression dialect is not supported
+     * @throws TopicExpressionResolutionException
+     *                                  if the expression could not be evaluated
+     * @throws InvalidTopicExpressionException
+     *                                  if the topic expression is invalid
+     * @throws TopicExpressionException if any other error occurs
+     */
+    Collection getTopics( TopicExpressionType topicExpression )
+            /* throws UnsupportedTopicExpressionDialectException, TopicExpressionResolutionException, InvalidTopicExpressionException, TopicExpressionException */;
+
+    /**
+     * Get the topic for the given topic path.
+     *
+     * @param topicPath The topic path (list of topic names)
+     *
+     * @return The topic corresponding to the given topic path
+     */
+    Topic getTopic( List topicPath );
+
+    /**
+     * Returns meta data associated with this topic list.
+     *
+     * @return meta data of this topic list.
+     */
+    TopicListMetaData getTopicListMetaData();
+
+    /**
+     * Iterator for the set of root topics
+     *
+     * @return The iterator
+     */
+    Iterator topicIterator();
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListAccessor.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListAccessor.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListAccessor.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,34 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.topics;
+
+/**
+ * Interface implemented by entities (e.g. resources) that have associated topic spaces. Primarly exists to abstract
+ * different <code>TopicList</code> implementations.
+ *
+ * @see TopicList
+ */
+public interface TopicListAccessor
+{
+    /**
+     * Get the topic list
+     *
+     * @return The topic list
+     *
+     * @see TopicList
+     */
+    TopicList getTopicList();
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListMetaData.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,31 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.topics;
+
+/**
+ * Interface for TopicList meta data.
+ */
+public interface TopicListMetaData
+{
+
+    /**
+     * Is the topic set fixed?
+     *
+     * @return Boolean indicating whether the topic set is fixed or not
+     */
+    boolean isTopicSetFixed();
+
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListener.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListener.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListener.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,45 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.topics;
+
+/**
+ * Interface that should be implemented by parties interested in changes in topics and the list of root topics. It is
+ * currently used to send notifications when the situation represented by a topic changes and for tracking the list of
+ * currently supported topics (exposed as a resource property)
+ */
+public interface TopicListener
+{
+    /**
+     * Called when the value of the topic changes
+     *
+     * @param topic The topic that changed
+     */
+    void topicChanged( Topic topic );
+
+    /**
+     * Called when a topic is added
+     *
+     * @param topic The topic being added
+     */
+    void topicAdded( Topic topic );
+
+    /**
+     * Called when a topic is removed
+     *
+     * @param topic The topic being removed
+     */
+    void topicRemoved( Topic topic );
+}

Added: incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListenerList.java
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListenerList.java?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/src/java/org/apache/ws/notification/topics/TopicListenerList.java	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,56 @@
+/*=============================================================================*
+ *  Copyright 2004 The Apache Software Foundation
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *=============================================================================*/
+package org.apache.ws.notification.topics;
+
+import java.util.Iterator;
+
+/**
+ * Interface used for managing a list of topic listeners. Currently inherited by the <code>TopicList</code> and
+ * <code>Topic</code> interfaces.
+ *
+ * @see TopicListener
+ * @see TopicList
+ * @see Topic
+ */
+public interface TopicListenerList
+{
+    /**
+     * Add a topic listener
+     *
+     * @param listener The topic listener to add
+     *
+     * @see TopicListener
+     */
+    void addTopicListener( TopicListener listener );
+
+    /**
+     * Remove a topic listener
+     *
+     * @param listener The topic listener to remove.
+     *
+     * @see TopicListener
+     */
+    void removeTopicListener( TopicListener listener );
+
+    /**
+     * Get a iterator for the list of TopicListeners
+     *
+     * @return The iterator
+     *
+     * @see TopicListener
+     */
+    Iterator topicListenerIterator();
+}

Added: incubator/hermes/trunk/wsn-xbeans/maven.xml
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/maven.xml?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/maven.xml	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+
+<!--
+   For the definitions of Jelly tags, see these as reference
+   * http://jakarta.apache.org/commons/jelly/libs/
+   * http://jakarta.apache.org/commons/jelly/tags.html
+-->
+
+<project default="jar:jar"    
+         xmlns:j="jelly:core"
+         xmlns:maven="jelly:maven">
+  
+  <postGoal name="java:compile">
+    <attainGoal name="generate" />
+  </postGoal>
+  
+  <postGoal name="jar:jar">
+    <attainGoal name="src-jar"/>
+  </postGoal>  
+
+  <goal name="generate"
+        description="generate XmlBeans for WSN spec types">
+    
+      <taskdef name="schemaCompiler"
+               classname="org.apache.xmlbeans.impl.tool.XMLBean"
+               classpathref="maven.dependency.classpath" />    
+
+      <j:set var="gen.src.dir" value="${maven.src.dir}/java"/>
+      <echo>Writing generated XMLBeans source files to: ${gen.src.dir}</echo>
+      <delete dir="${gen.src.dir}"/>
+      <mkdir dir="${gen.src.dir}"/>
+
+      <j:set var="gen.classes.dir" value="${maven.build.dest}"/>
+      <echo>Writing generated XMLBeans classes to: ${gen.classes.dir}</echo>
+      <delete dir="${gen.classes.dir}"/>
+      <mkdir dir="${gen.classes.dir}"/>
+
+      <schemaCompiler
+         classpathref="maven.dependency.classpath"
+         srcgendir="${gen.src.dir}"
+         classgendir="${gen.classes.dir}"
+         download="on"
+         verbose="on"
+         quiet="off"
+         optimize="off"
+         debug="on"
+         debugLevel="lines,vars,source"
+         fork="off"
+         ignoreDuplicatesInNamespaces=""
+         includeAntRuntime="on"
+         includeJavaRuntime="off"
+         memoryInitialSize="32M"
+         memoryMaximumSize="192M"
+         failonerror="on">
+         
+        <fileset dir="${maven.src.dir}/wsdl/wsn" />
+        
+      </schemaCompiler>
+
+  </goal>
+  
+  <goal name="src-jar">
+    <jar jarfile="${maven.build.dir}/${pom.artifactId}-src-${pom.currentVersion}.jar" 
+         basedir="${gen.src.dir}" />
+  </goal>  
+  
+</project>

Added: incubator/hermes/trunk/wsn-xbeans/project.properties
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/project.properties?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/project.properties	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,15 @@
+# -----------------------------------------------------------------------------
+# Default properties for the Maven build. You can override these properties
+# either by defining a build.properties file with the overriden properties
+# or by passing them on the command line as system parameters (-D).
+# -----------------------------------------------------------------------------
+
+# MAVEN CORE
+##############
+# comma-spearated list of remote JAR repository URLs
+maven.repo.remote = http://www.apache.org/dist/java-repository/, http://cvs.apache.org/repository/, http://mirrors.sunsite.dk/maven/
+
+# JAVA PLUGIN
+##############
+maven.compile.debug = on
+maven.compile.target = 1.4

Added: incubator/hermes/trunk/wsn-xbeans/project.xml
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/project.xml?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/project.xml	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+
+<!-- WSN Spec XMLBeans - defines Project Object Model (POM) -->
+
+<!-- Schema for this file is at:    http://maven.apache.org/xsd/maven-project-3.0.0.xsd -->
+<!-- Reference for this file is at: http://maven.apache.org/reference/project-descriptor.html -->
+
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:noNamespaceSchemaLocation="http://maven.apache.org/xsd/maven-project-3.0.0.xsd">
+
+  <pomVersion>3</pomVersion>
+  <name>XMLBeans for the WSN spec types</name>
+  <id>wsn-xbeans</id>
+  <groupId>hermes</groupId>
+  <currentVersion>SNAPSHOT</currentVersion>
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+  
+  <repository>
+        <connection>scm|svn|http://svn.apache.org/repos/asf/incubator/hermes/trunk/</connection>
+        <developerConnection>scm|svn|https://svn.apache.org/repos/asf/incubator/hermes/trunk/</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/incubator/hermes/trunk/</url>
+  </repository> 
+  
+  <versions>
+    <version>
+      <id>1_0-beta1</id>
+      <name>1.0-beta1</name>
+      <tag>HEAD</tag>
+    </version>
+  </versions>
+    
+  <developers>
+
+    <developer>
+      <name>Ian Springer</name>
+      <id>ips</id>
+      <email>ian DOT springer AT hp DOT com</email>
+      <organization>Hewlett-Packard Company</organization>
+      <roles>
+        <role>Developer</role>
+      </roles>
+      <timezone>-5</timezone>
+    </developer>
+
+  </developers>
+
+  <dependencies>
+
+    <dependency>
+      <groupId>apollo</groupId>
+      <artifactId>wsrf-xbeans</artifactId>
+      <version>SNAPSHOT</version>
+      <url>http://incubator.apache.org/apollo/</url>
+      <properties>
+        <license>ApacheLicense-2.0.txt</license>
+        <usage>XMLBeans for WSRF spec types</usage>
+        <war.bundle>true</war.bundle>
+      </properties>
+    </dependency>
+    
+    <dependency>
+      <groupId>xmlbeans</groupId>
+      <artifactId>xbean</artifactId>
+      <version>v1HEAD-SNAPSHOT-20041129</version>
+      <url>http://xmlbeans.apache.org/</url>
+      <properties>
+        <license>ApacheLicense-2.0.txt</license>
+        <war.bundle>true</war.bundle>
+        <usage>Used to generate XMLBeans</usage>
+      </properties>
+    </dependency>
+    
+  </dependencies>
+
+</project>

Added: incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsa/WS-Addressing-2003_03.xsd	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,114 @@
+<?xml version="1.0"?>
+
+<!-- 
+ 
+Legal Disclaimer
+
+The presentation, distribution or other dissemination of the information 
+contained in this document is not a license, either expressly or impliedly, 
+to any intellectual property owned or controlled by BEA or IBM or Microsoft
+and\or any other third party.  BEA and IBM and Microsoft and\or any other
+third party may have patents, patent applications, trademarks, copyrights, 
+or other intellectual property rights covering subject matter in this 
+document.  The furnishing of this document does not give you any license 
+to BEA's and IBM's and Microsoft's or any other third party's patents, 
+trademarks, copyrights, or other intellectual property.
+
+This document and the information contained herein is provided on an "AS IS"
+basis and to the maximum extent permitted by applicable law, BEA and IBM 
+and Microsoft provide the document AS IS AND WITH ALL FAULTS, and hereby 
+disclaims all other warranties and conditions, either express, implied or 
+statutory, including, but not limited to, any (if any) implied warranties, 
+duties or conditions of merchantability, of fitness for a particular 
+purpose, of accuracy or completeness of responses, of results, of 
+workmanlike effort, of lack of viruses, and of lack of negligence, all with
+regard to the document. ALSO, THERE IS NO WARRANTY OR CONDITION OF 
+TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR 
+NON-INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO THE 
+DOCUMENT.
+
+IN NO EVENT WILL BEA or IBM or MICROSOFT BE LIABLE TO ANY OTHER PARTY FOR THE
+COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, 
+LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL 
+DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY 
+WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS DOCUMENT, WHETHER OR 
+NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
+
+Copyright Notice
+
+Copyright 2003 BEA Systems Inc. and IBM Corporation and Microsoft Corporation. All rights reserved.
+
+-->
+
+<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" blockDefault="#all">
+
+   <!-- //////////////////// WS-Addressing //////////////////// -->
+	<!-- Endpoint reference -->
+	<xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/>
+	<xs:complexType name="EndpointReferenceType">
+		<xs:sequence>
+			<xs:element name="Address" type="wsa:AttributedURI"/>
+			<xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/>
+			<xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/>
+			<xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/>
+			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
+				<xs:annotation>
+					<xs:documentation>
+					 If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements).
+					</xs:documentation>
+				</xs:annotation>
+                        </xs:any>			
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	<xs:complexType name="ReferencePropertiesType">
+		<xs:sequence>
+			<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+	</xs:complexType>
+	<xs:complexType name="ServiceNameType">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:attribute name="PortName" type="xs:NCName"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<!-- Message information header blocks -->
+	<xs:element name="MessageID" type="wsa:AttributedURI"/>
+	<xs:element name="RelatesTo" type="wsa:Relationship"/>
+	<xs:element name="To" type="wsa:AttributedURI"/>
+	<xs:element name="Action" type="wsa:AttributedURI"/>
+	<xs:element name="From" type="wsa:EndpointReferenceType"/>
+	<xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/>
+	<xs:element name="FaultTo" type="wsa:EndpointReferenceType"/>
+	<xs:element name="Recipient" type="wsa:EndpointReferenceType"/>
+	<xs:complexType name="Relationship">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:attribute name="RelationshipType" type="xs:QName" use="optional"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:simpleType name="RelationshipTypeValues">
+		<xs:restriction base="xs:QName">
+			<xs:enumeration value="wsa:Response"/>
+		</xs:restriction>
+	</xs:simpleType>
+	<!-- Common declarations and definitions -->
+	<xs:complexType name="AttributedQName">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	<xs:complexType name="AttributedURI">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+</xs:schema>

Added: incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.wsdl
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.wsdl?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.wsdl	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,500 @@
+<?xml version="1.0"?>
+
+<!-- 
+
+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). 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"
+   xmlns="http://schemas.xmlsoap.org/wsdl/"
+   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://schemas.xmlsoap.org/ws/2003/03/addressing"
+   xmlns:wsp="http://schemas.xmlsoap.org/ws/2002/12/policy"
+   xmlns:wsnt=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+   xmlns:wsntw=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+   xmlns:wsrp=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+   xmlns:wsrpw=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+   xmlns:wsbf=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+   xmlns:wsrl=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+   xmlns:wsrlw=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+   targetNamespace=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl">
+
+   <!-- ========================== Imports =========================== -->
+   <wsdl:import
+      namespace=
+      "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+      location=
+      "../wsrf/WS-ResourceProperties-1_2.wsdl"/>
+
+   <wsdl:import
+      namespace=
+      "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+      location=
+      "../wsrf/WS-ResourceLifetime-1_2.wsdl"/>
+
+   <!-- ===================== Types Definitions ====================== -->
+   <wsdl:types>
+      <xsd:schema
+         targetNamespace=
+         "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+         elementFormDefault="qualified">
+
+         <xsd:include schemaLocation="WS-BaseNotification-1_2.xsd"/>
+
+         <xsd:import
+            namespace=
+            "http://schemas.xmlsoap.org/ws/2003/03/addressing"
+            schemaLocation=
+            "../wsa/WS-Addressing-2003_03.xsd"
+            />
+
+         <xsd:import
+            namespace=
+            "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+            schemaLocation=
+            "../wsrf/WS-BaseFaults-1_2.xsd"
+            />
+
+         <xsd:import namespace=
+  "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+            schemaLocation=
+            "../wsrf/WS-ResourceProperties-1_2.xsd"
+            />
+         <xsd:import
+            namespace=
+            "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+            schemaLocation=
+            "../wsrf/WS-ResourceLifetime-1_2.xsd"
+            />
+
+         <!-- =============== Resource Property Related  =================== -->
+         <!-- ======== Resource Properties for NotificationProducer ======== -->
+         <xsd:element name="NotificationProducerRP">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element ref="wsnt:Topic"
+                     minOccurs="1" maxOccurs="unbounded"/>
+                  <xsd:element ref="wsnt:FixedTopicSet"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:TopicExpressionDialects"
+                     minOccurs="1" maxOccurs="unbounded"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <!-- ======== Resource Properties for SubscriptionManager ========= -->
+         <xsd:element name="SubscriptionManagerRP">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <!-- From WS-ResourceLifetime ScheduledResourceTermination -->
+                  <xsd:element ref="wsrl:CurrentTime"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsrl:TerminationTime"
+                     minOccurs="1" maxOccurs="1"/>
+
+                  <!-- SubscriptionManager specific  -->
+                  <xsd:element ref="wsnt:ConsumerReference"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:TopicExpression"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:UseNotify"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:Precondition"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:Selector"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:SubscriptionPolicy"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:CreationTime"
+                     minOccurs="0" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <!-- ================== Message Helper Types  ===================== -->
+         <xsd:complexType name="NotificationMessageHolderType">
+            <xsd:sequence>
+               <xsd:element name="Topic"
+                  type="wsnt:TopicExpressionType"
+                  minOccurs="1" maxOccurs="1"/>
+               <xsd:element name="ProducerReference"
+                  type="wsa:EndpointReferenceType"
+                  minOccurs="0" maxOccurs="1"/>
+               <xsd:element name="Message" type="xsd:anyType"
+                  minOccurs="1" maxOccurs="1"/>
+            </xsd:sequence>
+         </xsd:complexType>
+
+         <!-- ========== Message Types for NotificationConsumer  =========== -->
+         <xsd:element name="Notify">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element name="NotificationMessage"
+                     type="wsnt:NotificationMessageHolderType"
+                     minOccurs="1" maxOccurs="unbounded"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <!-- ========== Message Types for NotificationProducer  =========== -->
+         <xsd:element name="Subscribe">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element name="ConsumerReference"
+                     type="wsa:EndpointReferenceType"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element name="TopicExpression"
+                     type="wsnt:TopicExpressionType"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element name="UseNotify"
+                     type="xsd:boolean" default="true"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element name="Precondition"
+                     type="wsrp:QueryExpressionType"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element name="Selector"
+                     type="wsrp:QueryExpressionType"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element name="SubscriptionPolicy"
+                     type="xsd:anyType"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element name="InitialTerminationTime"
+                     type="xsd:dateTime"
+                     minOccurs="0" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <xsd:element name="SubscribeResponse">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element name="SubscriptionReference"
+                     type="wsa:EndpointReferenceType"
+                     minOccurs="0" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <xsd:element name="GetCurrentMessage">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element name="Topic"
+                     type="wsnt:TopicExpressionType"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <xsd:element name="GetCurrentMessageResponse">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:any/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <xsd:complexType name="ResourceUnknownFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="ResourceUnknownFault"
+            type="wsnt:ResourceUnknownFaultType"/>
+
+         <xsd:complexType name="SubscribeCreationFailedFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="SubscribeCreationFailedFault"
+            type="wsnt:SubscribeCreationFailedFaultType"/>
+
+         <xsd:complexType name="TopicPathDialectUnknownFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="TopicPathDialectUnknownFault"
+            type="wsnt:TopicPathDialectUnknownFaultType"/>
+
+         <xsd:complexType name="InvalidTopicExpressionFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="InvalidTopicExpressionFault"
+            type="wsnt:InvalidTopicExpressionFaultType"/>
+
+         <xsd:complexType name="TopicNotSupportedFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="TopicNotSupportedFault"
+            type="wsnt:TopicNotSupportedFaultType"/>
+
+         <xsd:complexType name="NoCurrentMessageOnTopicFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="NoCurrentMessageOnTopicFault"
+            type="wsnt:NoCurrentMessageOnTopicFaultType"/>
+
+
+         <!-- ========== Message Types for SubscriptionManager  =========== -->
+
+         <xsd:element name="PauseSubscription"/>
+
+         <xsd:element name="PauseSubscriptionResponse"/>
+
+         <xsd:element name="ResumeSubscription"/>
+
+         <xsd:element name="ResumeSubscriptionResponse"/>
+
+         <xsd:complexType name="PauseFailedFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="PauseFailedFault"
+            type="wsnt:PauseFailedFaultType"/>
+
+         <xsd:complexType name="ResumeFailedFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="ResumeFailedFault"
+            type="wsnt:ResumeFailedFaultType"/>
+
+      </xsd:schema>
+   </wsdl:types>
+
+   <!-- ================ NotificationConsumer::Notify ================
+     Notify(
+       NotificationMessage
+         (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, TopicExpression, [UseNotify],
+      [Precondition], [Selector], [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="ResourceUnknownFault">
+      <part name="ResourceUnknownFault"
+         element="wsnt:ResourceUnknownFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="SubscribeCreationFailedFault">
+      <part name="SubscribeCreationFailedFault"
+         element="wsnt:SubscribeCreationFailedFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="TopicPathDialectUnknownFault">
+      <part name="TopicPathDialectUnknownFault"
+         element="wsnt:TopicPathDialectUnknownFault"/>
+   </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">
+      <part name="InvalidTopicExpressionFault"
+         element="wsnt:InvalidTopicExpressionFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="TopicNotSupportedFault">
+      <part name="TopicNotSupportedFault"
+         element="wsnt:TopicNotSupportedFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="NoCurrentMessageOnTopicFault">
+      <part name="NoCurrentMessageOnTopicFault"
+         element="wsnt:NoCurrentMessageOnTopicFault"/>
+   </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">
+      <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">
+      <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"
+                  wsrp:ResourceProperties="wsnt:NotificationProducerRP">
+
+      <!-- ========== extends wsrpw:ResourceProperties ============= -->
+      <wsdl:operation name="GetResourceProperty">
+         <wsdl:input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
+         <wsdl:output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </wsdl:operation>
+
+      <!-- =========== NotificationProducer Specific ============== -->
+      <wsdl:operation name="Subscribe">
+         <wsdl:input message="wsntw:SubscribeRequest"/>
+         <wsdl:output message="wsntw:SubscribeResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
+         <wsdl:fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault"/>
+         <wsdl:fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault"/>
+      </wsdl:operation>
+
+      <wsdl:operation name="GetCurrentMessage">
+         <wsdl:input message="wsntw:GetCurrentMessageRequest"/>
+         <wsdl:output message="wsntw:GetCurrentMessageResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault"/>
+         <wsdl:fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault"/>
+         <wsdl:fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault"/>
+      </wsdl:operation>
+
+   </wsdl:portType>
+
+   <!-- ========== SubscriptionManager PortType Definition =========== -->
+   <wsdl:portType name="SubscriptionManager"
+                  wsrp:ResourceProperties="wsnt:SubscriptionManagerRP">
+
+      <!-- ========== extends wsrpw:ResourceProperties ============= -->
+      <wsdl:operation name="GetResourceProperty">
+         <wsdl:input name="GetResourcePropertyRequest"
+            message="wsrpw:GetResourcePropertyRequest"/>
+         <wsdl:output name="GetResourcePropertyResponse"
+            message="wsrpw:GetResourcePropertyResponse"/>
+         <wsdl:fault name="ResourceUnknownFault"
+            message="wsrpw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidResourcePropertyQNameFault"
+            message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </wsdl:operation>
+      
+      <!-- === extends wsrlw:ImmediateResourceTermination ========== -->
+      <wsdl:operation name="Destroy">
+         <wsdl:input message="wsrlw:DestroyRequest"/>
+         <wsdl:output message="wsrlw:DestroyResponse"/>
+         <wsdl:fault name="ResourceUnknownFault"
+            message="wsrlw:ResourceUnknownFault"/>
+         <wsdl:fault name="ResourceNotDestroyedFault"
+            message="wsrlw:ResourceNotDestroyedFault"/>
+      </wsdl:operation>
+
+      <!-- === extends wsrl:ScheduledResourceTermination ========== -->
+      <wsdl:operation name="SetTerminationTime">
+         <wsdl:input message="wsrlw:SetTerminationTimeRequest"/>
+         <wsdl:output message="wsrlw:SetTerminationTimeResponse"/>
+         <wsdl:fault name="ResourceUnknownFault"
+            message="wsrlw:ResourceUnknownFault"/>
+         <wsdl:fault name="UnableToSetTerminationTimeFault"
+            message="wsrlw:UnableToSetTerminationTimeFault"/>
+         <wsdl:fault name="TerminationTimeChangeRejectedFault"
+            message="wsrlw:TerminationTimeChangeRejectedFault"/>
+      </wsdl:operation>
+
+      <!-- ========= SubscriptionManager specific operations ====== -->
+      <wsdl:operation name="PauseSubscription">
+         <wsdl:input message="wsntw:PauseSubscriptionRequest"/>
+         <wsdl:output message="wsntw:PauseSubscriptionResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsntw: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="wsntw:ResourceUnknownFault"/>
+         <wsdl:fault name="ResumeFailedFault" message="wsntw:ResumeFailedFault"/>
+      </wsdl:operation>
+
+   </wsdl:portType>
+
+</wsdl:definitions>

Added: incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.xsd
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.xsd?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BaseNotification-1_2.xsd	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+
+<!-- 
+
+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). 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="http://www.w3.org/2001/XMLSchema"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
+   xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+   xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+   targetNamespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+   elementFormDefault="qualified">
+
+   <!-- ======================== Imports  ============================ -->
+
+   <xsd:import namespace=
+     "http://schemas.xmlsoap.org/ws/2003/03/addressing"
+      schemaLocation=
+      "../wsa/WS-Addressing-2003_03.xsd"
+      />
+
+   <xsd:import namespace=
+     "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+      schemaLocation=
+      "../wsrf/WS-ResourceProperties-1_2.xsd"
+      />
+
+   <!-- ================= Topic Expression Container ================= -->
+   <xsd:complexType name="TopicExpressionType" mixed="true">
+      <xsd:sequence>
+         <xsd:any minOccurs="0" maxOccurs="1" processContents="lax"/>
+      </xsd:sequence>
+      <xsd:attribute name="Dialect" type="xsd:anyURI"/>
+   </xsd:complexType>
+
+   <xsd:element name="TopicExpression"
+      type="wsnt:TopicExpressionType"/>
+
+   <!-- =============== Resource Property Related  =================== -->
+   <!-- ======== Resource Properties for NotificationProducer ======== -->
+   <xsd:element name="Topic" type="wsnt:TopicExpressionType"/>
+
+   <xsd:element name="FixedTopicSet" type="xsd:boolean"/>
+
+   <xsd:element name="TopicExpressionDialects" type="xsd:anyURI"/>
+
+   <!-- ======== Resource Properties for SubscriptionManager ========= -->
+   <xsd:element name="ConsumerReference"
+      type="wsa:EndpointReferenceType"/>
+   <xsd:element name="UseNotify"
+      type="xsd:boolean"/>
+   <xsd:element name="Precondition"
+      type="wsrp:QueryExpressionType"/>
+   <xsd:element name="Selector"
+      type="wsrp:QueryExpressionType"/>
+   <xsd:element name="SubscriptionPolicy"
+      type="xsd:anyType"/>
+   <xsd:element name="CreationTime"
+      type="xsd:dateTime"/>
+
+</xsd:schema>

Added: incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.wsdl
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.wsdl?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.wsdl	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,335 @@
+<?xml version="1.0"?>
+
+<!-- 
+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). 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-BrokeredNotification"
+   xmlns="http://schemas.xmlsoap.org/wsdl/"
+   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://schemas.xmlsoap.org/ws/2003/03/addressing"
+   xmlns:wsbn=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd"
+   xmlns:wsbnw=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.wsdl"
+   xmlns:wsnt=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+   xmlns:wsntw=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+   xmlns:wsbf=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+   xmlns:wsrp=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+   xmlns:wsrpw=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+   xmlns:wsrl=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+   xmlns:wsrlw=
+   "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+   targetNamespace=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.wsdl">
+
+   <!-- ========================== Imports =========================== -->
+   <wsdl:import
+      namespace=
+      "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+      location=
+      "../wsrf/WS-ResourceProperties-1_2.wsdl"/>
+
+   <wsdl:import
+      namespace=
+      "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+      location=
+      "../wsrf/WS-ResourceLifetime-1_2.wsdl"/>
+
+   <wsdl:import
+      namespace=
+      "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl"
+      location=
+      "WS-BaseNotification-1_2.wsdl"/>
+
+   <!-- ===================== Types Definitions ====================== -->
+   <wsdl:types>
+      <xsd:schema
+         targetNamespace=
+         "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd"
+         elementFormDefault="qualified">
+
+         <xsd:include schemaLocation="WS-BrokeredNotification-1_2.xsd"/>
+
+         <xsd:import
+            namespace=
+            "http://schemas.xmlsoap.org/ws/2003/03/addressing"
+            schemaLocation=
+            "../wsa/WS-Addressing-2003_03.xsd"
+            />
+
+         <xsd:import namespace=
+  "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+            schemaLocation=
+            "WS-BaseNotification-1_2.xsd"
+            />
+
+         <xsd:import
+            namespace=
+            "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+            schemaLocation=
+            "../wsrf/WS-BaseFaults-1_2.xsd"
+            />
+
+         <xsd:import namespace=
+  "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+            schemaLocation=
+            "../wsrf/WS-ResourceProperties-1_2.xsd"
+            />
+
+         <xsd:import
+            namespace=
+            "http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+            schemaLocation=
+            "../wsrf/WS-ResourceLifetime-1_2.xsd"
+            />
+
+         <!-- =============== Resource Property Related  =================== -->
+
+         <!-- ======== Resource Properties for NotificationBroker ========== -->
+         <xsd:element name="NotificationBrokerRP">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <!-- From NotificationProducer -->
+                  <xsd:element ref="wsnt:Topic"
+                     minOccurs="1" maxOccurs="unbounded"/>
+                  <xsd:element ref="wsnt:FixedTopicSet"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsnt:TopicExpressionDialects"
+                     minOccurs="1" maxOccurs="unbounded"/>
+                  <!-- NotificationBroker specific  -->
+                  <xsd:element ref="wsbn:RequiresRegistration"
+                     minOccurs="1" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <!-- ====== Resource Properties for PublisherRegistration ========= -->
+         <xsd:element name="PublisherRegistrationRP">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <!-- From WS-ResourceLifetime ScheduledResourceTermination -->
+                  <xsd:element ref="wsrl:CurrentTime"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsrl:TerminationTime"
+                     minOccurs="1" maxOccurs="1"/>
+
+                  <!-- PublisherRegistration specific  -->
+                  <xsd:element ref="wsbn:PublisherReference"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element ref="wsbn:Topic"
+                     minOccurs="0" maxOccurs="unbounded"/>
+                  <xsd:element ref="wsbn:Demand"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:element ref="wsbn:CreationTime"
+                     minOccurs="0" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <!-- ========== Message Types for NotificationBroker  ============ -->
+         <xsd:element name="RegisterPublisher">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element name="PublisherReference"
+                     type="wsa:EndpointReferenceType"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element name="Topic"
+                     type="wsnt:TopicExpressionType"
+                     minOccurs="0" maxOccurs="unbounded"/>
+                  <xsd:element name="Demand"
+                     type="xsd:boolean" default="false"
+                     minOccurs="0" maxOccurs="1"/>
+                  <xsd:element name="InitialTerminationTime"
+                     type="xsd:dateTime"
+                     minOccurs="0" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <xsd:element name="RegisterPublisherResponse">
+            <xsd:complexType>
+               <xsd:sequence>
+                  <xsd:element name="PublisherRegistrationReference"
+                     type="wsa:EndpointReferenceType"
+                     minOccurs="0" maxOccurs="1"/>
+               </xsd:sequence>
+            </xsd:complexType>
+         </xsd:element>
+
+         <xsd:complexType name="ResourceUnknownFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="ResourceUnknownFault"
+            type="wsbn:ResourceUnknownFaultType"/>
+
+         <xsd:complexType name="InvalidTopicExpressionFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="InvalidTopicExpressionFault"
+            type="wsbn:InvalidTopicExpressionFaultType"/>
+
+         <xsd:complexType name="TopicNotSupportedFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="TopicNotSupportedFault"
+            type="wsbn:TopicNotSupportedFaultType"/>
+
+         <xsd:complexType name="PublisherRegistrationFailedFaultType">
+            <xsd:complexContent>
+               <xsd:extension base="wsbf:BaseFaultType"/>
+            </xsd:complexContent>
+         </xsd:complexType>
+         <xsd:element name="PublisherRegistrationFailedFault"
+            type="wsbn:PublisherRegistrationFailedFaultType"/>
+
+      </xsd:schema>
+   </wsdl:types>
+
+   <!-- ========== NotificationBroker::RegisterPublisher =============
+      RegisterPublisher(PublisherReference, TopicExpression* ,
+                        [Demand], [InitialTerminationTime])
+      returns: WS-Resource qualified EPR to a PublisherRegistration -->
+   <wsdl:message name="RegisterPublisherRequest">
+      <wsdl:part name="RegisterPublisherRequest"
+         element="wsbn:RegisterPublisher"/>
+   </wsdl:message>
+
+   <wsdl:message name="RegisterPublisherResponse">
+      <wsdl:part name="RegisterPublisherResponse"
+         element="wsbn:RegisterPublisherResponse"/>
+   </wsdl:message>
+
+   <wsdl:message name="ResourceUnknownFault">
+      <part name="ResourceUnknownFault"
+         element="wsbn:ResourceUnknownFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="InvalidTopicExpressionFault">
+      <part name="InvalidTopicExpressionFault"
+         element="wsbn:InvalidTopicExpressionFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="TopicNotSupportedFault">
+      <part name="TopicNotSupportedFault"
+         element="wsbn:TopicNotSupportedFault"/>
+   </wsdl:message>
+
+   <wsdl:message name="PublisherRegistrationFailedFault">
+      <part name="PublisherRegistrationFailedFault"
+         element="wsbn:PublisherRegistrationFailedFault"/>
+   </wsdl:message>
+
+   <!-- =================== PortType Definitions ===================== -->
+   <!-- ========== NotificationBroker PortType Definition ============ -->
+   <wsdl:portType name="NotificationBroker"
+                  wsrp:ResourceProperties="wsbn:NotificationBrokerRP">
+
+      <!-- ============= extends NotificationConsumer ============= -->
+      <wsdl:operation name="Notify">
+         <wsdl:input message="wsntw:Notify"/>
+      </wsdl:operation>
+
+      <!-- ========== extends wsrp:ResourceProperties ============= -->
+      <wsdl:operation name="GetResourceProperty">
+         <wsdl:input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
+         <wsdl:output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </wsdl:operation>
+      
+      <!-- ============= extends NotificationProducer ============= -->
+      <wsdl:operation name="Subscribe">
+         <wsdl:input message="wsntw:SubscribeRequest"/>
+         <wsdl:output message="wsntw:SubscribeResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault"/>
+         <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="wsntw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault"/>
+         <wsdl:fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault"/>
+         <wsdl:fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault"/>
+      </wsdl:operation>
+      
+      <!-- ========= NotificationBroker specific operations ======= -->
+      <wsdl:operation name="RegisterPublisher">
+         <wsdl:input message="wsbnw:RegisterPublisherRequest"/>
+         <wsdl:output message="wsbnw:RegisterPublisherResponse"/>
+         <wsdl:fault name="ResourceUnknownFault"
+            message="wsbnw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidTopicExpressionFault"
+            message="wsbnw:InvalidTopicExpressionFault"/>
+         <wsdl:fault name="TopicNotSupportedFault"
+            message="wsbnw:TopicNotSupportedFault"/>
+         <wsdl:fault name="PublisherRegistrationFailedFault"
+            message="wsbnw:PublisherRegistrationFailedFault"/>
+      </wsdl:operation>
+   </wsdl:portType>
+
+   <!-- ===== PublisherRegistrationManager PortType Definition ====== -->
+   <wsdl:portType name="PublisherRegistrationManager"
+                  wsrp:ResourceProperties="wsbn:PublisherRegistrationManagerRP">
+
+      <!-- ========== extends wsrp:ResourceProperties ============= -->
+<!--
+      <wsdl:operation name="GetResourceProperty">
+         <wsdl:input name="GetResourcePropertyRequest"
+            message="wsrpw:GetResourcePropertyRequest"/>
+         <wsdl:output name="GetResourcePropertyResponse"
+            message="wsrpw:GetResourcePropertyResponse"/>
+         <wsdl:fault name="ResourceUnknownFault"
+            message="wsrpw:ResourceUnknownFault"/>
+         <wsdl:fault name="InvalidResourcePropertyQNameFault"
+            message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </wsdl:operation>
+-->
+
+      <!-- === extends wsrl:ImmediateResourceTermination ========== -->
+      <wsdl:operation name="Destroy">
+         <wsdl:input message="wsrlw:DestroyRequest"/>
+         <wsdl:output message="wsrlw:DestroyResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <wsdl:fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
+      </wsdl:operation>
+
+      <!-- === extends wsrl:ScheduledResourceTermination ========== -->
+      <wsdl:operation name="SetTerminationTime">
+         <wsdl:input message="wsrlw:SetTerminationTimeRequest"/>
+         <wsdl:output message="wsrlw:SetTerminationTimeResponse"/>
+         <wsdl:fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <wsdl:fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
+         <wsdl:fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
+      </wsdl:operation>
+
+      <!-- ==== PublisherRegistrationManager specific operations == -->
+   </wsdl:portType>
+
+</wsdl:definitions>

Added: incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.xsd
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.xsd?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-BrokeredNotification-1_2.xsd	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+
+<!-- 
+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). 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="http://www.w3.org/2001/XMLSchema"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
+   xmlns:wsbn=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd"
+   xmlns:wsnt=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+   targetNamespace=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd"
+   elementFormDefault="qualified">
+
+   <!-- ======================== Imports  ============================ -->
+
+   <xsd:import namespace=
+     "http://schemas.xmlsoap.org/ws/2003/03/addressing"
+      schemaLocation=
+      "../wsa/WS-Addressing-2003_03.xsd"
+      />
+
+   <xsd:import namespace=
+   "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+      schemaLocation=
+      "WS-BaseNotification-1_2.xsd"
+      />
+
+   <!-- ======== Resource Properties for NotificationBroker ========== -->
+   <xsd:element name="RequiresRegistration" type="xsd:boolean"/>
+
+   <!-- ====== Resource Properties for PublisherRegistration ========= -->
+   <xsd:element name="PublisherReference"
+      type="wsa:EndpointReferenceType"/>
+   <xsd:element name="Topic"
+      type="wsnt:TopicExpressionType"/>
+   <xsd:element name="Demand"
+      type="xsd:boolean"/>
+   <xsd:element name="CreationTime"
+      type="xsd:dateTime"/>
+
+</xsd:schema>

Added: incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-Topics-1_2.xsd
Url: http://svn.apache.org/viewcvs/incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-Topics-1_2.xsd?view=auto&rev=123019
==============================================================================
--- (empty file)
+++ incubator/hermes/trunk/wsn-xbeans/src/wsdl/wsn/WS-Topics-1_2.xsd	Tue Dec 21 15:34:48 2004
@@ -0,0 +1,171 @@
+<?xml version="1.0"?>
+
+<!-- 
+
+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). 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="http://www.w3.org/2001/XMLSchema"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns:wsrp="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+   xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+   xmlns:wstop="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd"
+   targetNamespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-Topics-1.2-draft-01.xsd"
+   elementFormDefault="qualified">
+
+   <!-- ======================== Imports  ============================ -->
+
+   <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd"
+               schemaLocation="../wsrf/WS-ResourceProperties-1_2.xsd"/>
+               
+   <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd"
+               schemaLocation="WS-BaseNotification-1_2.xsd"/>
+
+   <!-- =============== 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>
+
+   <!-- ================== Topic-Space Related  ====================== -->
+   <xsd:complexType name="TopicSpaceType">
+      <xsd:complexContent>
+         <xsd:extension base="wstop:ExtensibleDocumented">
+            <xsd:sequence>
+               <xsd:element name="Topic" type="wstop:TopicType"
+                  minOccurs="0" maxOccurs="unbounded"/>
+               <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:extension>
+      </xsd:complexContent>
+   </xsd:complexType>
+
+   <xsd:element name="TopicSpace" type="wstop:TopicSpaceType">
+      <xsd:unique name="rootTopicUniqueness">
+         <xsd:selector xpath="wstop:Topic"/>
+         <xsd:field xpath="@name"/>
+      </xsd:unique>
+   </xsd:element>
+
+   <!-- ===================== Topic Related  ========================= -->
+
+   <xsd:group name="NonAliasTopicDefinition">
+      <xsd:sequence>
+         <xsd:element name="MessagePattern"
+            type="wsrp: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:sequence>
+   </xsd:group>
+
+   <xsd:complexType name="TopicType">
+      <xsd:complexContent>
+         <xsd:extension base="wstop:ExtensibleDocumented">
+            <xsd:sequence>
+               <xsd:choice>
+                  <xsd:element name="AliasRef"
+                     type="wsnt:TopicExpressionType"
+                     minOccurs="1" maxOccurs="1"/>
+                  <xsd:group ref="wstop:NonAliasTopicDefinition"/>
+               </xsd:choice>
+               <xsd:any namespace="##other" minOccurs="0"
+                  maxOccurs="unbounded"/>
+            </xsd:sequence>
+            <xsd:attribute name="name" use="required" type="xsd:NCName"/>
+            <xsd:attribute name="messageTypes" default="xsd:any">
+               <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 Expression Related  =================== -->
+
+   <xsd:simpleType name="FullTopicPathExpression">
+      <xsd:restriction base="xsd:token">
+         <xsd:annotation>
+            <xsd:documentation>
+        TopicPathExpression  ::=   TopicPath ( '|' TopicPath )*  
+        TopicPath       ::=   RootTopic ChildTopicExpression* 
+        RootTopic       ::=   NamespacePrefix? ('//')? (NCName | '*')  
+        NamespacePrefix ::=   NCName ':'      
+        ChildTopicExpression ::=   '/' '/'? (NCName | '*'| '.')
+
+            </xsd:documentation>
+         </xsd:annotation>
+         <xsd:pattern value=
+            "([\i-[:]][\c-[:]]*:)?(//)?([\i-[:]][\c-[:]]*|\*)((/|//)([\i-[:]][\c-[:]]*|\*|[.]))*(\|([\i-[:]][\c-[:]]*:)?(//)?([\i-[:]][\c-[:]]*|\*)((/|//)([\i-[:]][\c-[:]]*|\*|[.]))*)*">
+         </xsd:pattern>
+      </xsd:restriction>
+   </xsd:simpleType>
+
+   <xsd:simpleType name="ConcreteTopicPathExpression">
+      <xsd:restriction base="xsd:token">
+         <xsd:annotation>
+            <xsd:documentation>
+  The pattern allows strings matching the following EBNF:
+    ConcreteTopicPath    ::=   RootTopic ChildTopic*    
+    RootTopic            ::=   QName  
+    ChildTopic           ::=   '/' NCName
+
+            </xsd:documentation>
+         </xsd:annotation>
+         <xsd:pattern value=
+   "(( [\i-[:]][\c-[:]]*:)? [\i-[:]][\c-[:]]*)(/ [\i-[:]][\c-[:]]*)*">
+         </xsd:pattern>
+      </xsd:restriction>
+   </xsd:simpleType>
+
+   <xsd:simpleType name="SimpleTopicExpression">
+      <xsd:restriction base="xsd:token">
+         <xsd:annotation>
+            <xsd:documentation>
+  The pattern allows strings matching the following EBNF:
+    RootTopic            ::=   QName
+
+            </xsd:documentation>
+         </xsd:annotation>
+         <xsd:pattern value="([\i-[:]][\c-[:]]*:)?( [\i-[:]][\c-[:]]*)">
+         </xsd:pattern>
+      </xsd:restriction>
+   </xsd:simpleType>
+
+</xsd:schema>

---------------------------------------------------------------------
To unsubscribe, e-mail: hermes-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: hermes-dev-help@ws.apache.org