You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by jr...@apache.org on 2005/07/13 01:20:50 UTC

svn commit: r216047 [2/2] - in /webservices/pubscribe/trunk/src/examples/filesystem: ./ epr/ lib/ requests/ src/ src/java/ src/java/example/ src/java/example/filesystem/ src/java/example/filesystem/backend/ src/java/example/filesystem/callback/ src/jav...

Added: webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/FilesystemService.java
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/FilesystemService.java?rev=216047&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/FilesystemService.java (added)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/FilesystemService.java Tue Jul 12 16:20:48 2005
@@ -0,0 +1,75 @@
+package org.apache.ws.resource.example.filesystem;
+
+import org.apache.ws.resource.ResourceContext;
+import org.apache.xmlbeans.XmlObject;
+import org.apache.xmlbeans.XmlException;
+
+import javax.xml.rpc.JAXRPCException;
+
+/**
+ * **** NOTE: This file will not be overwritten during generation ****
+ *
+ * This class should be generated ONCE (and not overwritten) to maintain user-added code.
+ * If there is a change to the WSDL, then the generated implemented interfaces
+ * (representing the "base" portTypes) will change, thus showing a compile error to the
+ * user.
+ *
+ * NOTE: This class is generated. However, it will not be overwritten by subsequent
+ *       calls to the code generator.
+ *
+ */
+public class FilesystemService
+   extends AbstractFilesystemService 
+   implements FilesystemCustomOperationsPortType
+{
+   
+      
+   /**
+    * A NamespaceVerionHolder which maintains the QNames of Spec Wsdls
+    */
+   public static final org.apache.ws.notification.base.v2004_06.impl.WsnNamespaceVersionHolderImpl SPEC_NAMESPACE_SET = new org.apache.ws.notification.base.v2004_06.impl.WsnNamespaceVersionHolderImpl();
+    
+   /**
+    * Creates a new {@link FilesystemService } object.
+    *
+    * @param resourceContext DOCUMENT_ME
+    */
+   public FilesystemService( ResourceContext resourceContext )
+   {
+      super(resourceContext);
+      init();
+   }
+   
+      /**
+    * Returns a collection of Spec Namespaces associated with this Service
+    *
+    * @return A NamespaceVersionHolder impl which represents the collection of spec namespaces 
+    *         associated with this service.
+    */
+   protected org.apache.ws.resource.properties.NamespaceVersionHolder getNamespaceSet()
+   {
+      return SPEC_NAMESPACE_SET;
+   }
+   
+      
+   public org.apache.ws.resource.example.filesystem.UnmountResponseDocument Unmount( org.apache.ws.resource.example.filesystem.UnmountDocument requestDoc ) throws org.apache.ws.resource.example.filesystem.MountDeviceBusyFaultException
+   {              
+     	org.apache.ws.resource.example.filesystem.UnmountResponseDocument responseDocument = org.apache.ws.resource.example.filesystem.UnmountResponseDocument.Factory.newInstance();	
+     	org.apache.ws.resource.example.filesystem.UnmountResponseDocument.UnmountResponse  response = responseDocument.addNewUnmountResponse();
+     	//TODO implement method and populate the response object 
+     	return responseDocument;
+   }
+   
+   
+      
+   public org.apache.ws.resource.example.filesystem.MountResponseDocument Mount( org.apache.ws.resource.example.filesystem.MountDocument requestDoc ) throws org.apache.ws.resource.example.filesystem.MountDeviceBusyFaultException
+   {              
+     	org.apache.ws.resource.example.filesystem.MountResponseDocument responseDocument = org.apache.ws.resource.example.filesystem.MountResponseDocument.Factory.newInstance();	
+     	org.apache.ws.resource.example.filesystem.MountResponseDocument.MountResponse  response = responseDocument.addNewMountResponse();
+     	//TODO implement method and populate the response object 
+     	return responseDocument;
+   }
+   
+   
+      
+}

Added: webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd?rev=216047&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd (added)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_deploy.wsdd Tue Jul 12 16:20:48 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<!-- **** WARNING: This file will be overwritten during generation **** -->
+<deployment xmlns="http://xml.apache.org/axis/wsdd/" 
+            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+
+   <service name="filesystem" provider="java:WSRF" style="document" use="literal">
+      
+      <wsdlFile>/wsdl/FileSystem.wsdl</wsdlFile>      
+      
+      <requestFlow>
+         <handler type="java:org.apache.axis.handlers.JAXRPCHandler">
+            <parameter name="className" value="org.apache.axis.message.addressing.handler.AxisServerSideAddressingHandler" />
+            <parameter name="referencePropertyNames" value="*" />
+         </handler>
+      </requestFlow>      
+      
+      <responseFlow>
+         <handler type="java:org.apache.axis.handlers.JAXRPCHandler">
+            <parameter name="className" value="org.apache.axis.message.addressing.handler.AxisServerSideAddressingHandler" />
+            <parameter name="referencePropertyNames" value="*" />
+         </handler>
+      </responseFlow>            
+      
+   </service>
+
+</deployment>

Added: webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_jndi-config.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_jndi-config.xml?rev=216047&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_jndi-config.xml (added)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_jndi-config.xml Tue Jul 12 16:20:48 2005
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+
+<!-- **** WARNING: This file will be overwritten during generation **** -->
+
+<jndiConfig xmlns="http://www.apache.org/wsfx/wsrf/jndi/config">
+
+   <service name="filesystem">
+      <resource name="home" type="org.apache.ws.resource.example.filesystem.FilesystemHome">
+         <resourceParams>
+            <parameter>
+               <name>serviceClassName</name>
+               <value>org.apache.ws.resource.example.filesystem.FilesystemService</value>
+            </parameter>
+            <parameter>
+               <name>resourceClassName</name>
+               <value>org.apache.ws.resource.example.filesystem.FilesystemResource</value>
+            </parameter>
+            <parameter>
+               <name>wsdlTargetNamespace</name>
+               <value>http://ws.apache.org/resource/example/filesystem</value>
+            </parameter>
+            
+            <parameter>
+               <name>resourceKeyName</name>
+               <value>{http://ws.apache.org/resource/example/filesystem}ResourceIdentifier</value>
+            </parameter>
+            
+
+         </resourceParams>
+      </resource>
+   </service>
+
+</jndiConfig>
+

Added: webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/MountDeviceBusyFaultException.java
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/MountDeviceBusyFaultException.java?rev=216047&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/MountDeviceBusyFaultException.java (added)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/filesystem/MountDeviceBusyFaultException.java Tue Jul 12 16:20:48 2005
@@ -0,0 +1,46 @@
+
+package org.apache.ws.resource.example.filesystem;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.ws.resource.i18n.MessagesImpl;
+import org.apache.ws.util.i18n.Messages;
+import javax.xml.namespace.QName;
+import org.apache.ws.resource.faults.AbstractBaseFaultException;
+import org.apache.ws.resource.properties.NamespaceVersionHolder;
+
+/**
+ * **** WARNING: This file will be overwritten during generation ****
+ */
+public class MountDeviceBusyFaultException
+        extends AbstractBaseFaultException
+{
+
+    private static final Messages MSG = MessagesImpl.getInstance();
+    private static final Log LOG = LogFactory.getLog( MountDeviceBusyFaultException.class );
+
+    private QName m_name;
+
+    /**
+     * Constructs a new MountDeviceBusyFaultException .
+     *
+     * @param namespaces
+     * @param faultString 
+     */
+    public MountDeviceBusyFaultException( NamespaceVersionHolder namespaces, String faultString )
+    {
+        super( namespaces, faultString );
+        m_name = new QName( "http://ws.apache.org/resource/example/filesystem", "MountDeviceBusyFaultException");        
+    }
+    
+    /**
+     * Returns the element name for this base fault.
+     *
+     * @return the element name for this base fault
+     */
+    public QName getBaseFaultName()
+    {
+        return m_name;
+    }
+
+}

Added: webservices/pubscribe/trunk/src/examples/filesystem/src/wsdl/FileSystem.wsdl
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/examples/filesystem/src/wsdl/FileSystem.wsdl?rev=216047&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/examples/filesystem/src/wsdl/FileSystem.wsdl (added)
+++ webservices/pubscribe/trunk/src/examples/filesystem/src/wsdl/FileSystem.wsdl Tue Jul 12 16:20:48 2005
@@ -0,0 +1,418 @@
+<?xml version="1.0"?>
+
+<definitions name="FileSystemResourceDefinition"
+   targetNamespace="http://ws.apache.org/resource/example/filesystem"
+   xmlns="http://schemas.xmlsoap.org/wsdl/"
+   xmlns:tns="http://ws.apache.org/resource/example/filesystem"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+   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:wsrlw="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"   
+   xmlns:wsntw="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl">
+
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.wsdl"
+           location="../spec/wsrf/WS-ResourceProperties-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
+           location="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
+
+   <import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.wsdl" 
+           location="../spec/wsn/WS-BaseNotification-1_2-Draft_01.wsdl"/>
+
+   <types>
+      <schema elementFormDefault="qualified"
+         targetNamespace="http://ws.apache.org/resource/example/filesystem"
+         xmlns="http://www.w3.org/2001/XMLSchema"
+         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+         xmlns:wsrl="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+         xmlns:wsbf="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+         xmlns:wsnt="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd">
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd"
+                     schemaLocation="../spec/wsrf/WS-BaseFaults-1_2-Draft_01.xsd"/>
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"
+                     schemaLocation="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.xsd"/>
+
+         <xsd:import namespace="http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd" 
+                     schemaLocation="../spec/wsn/WS-BaseNotification-1_2-Draft_01.xsd"/>
+
+         <element name="DeviceSpecialFile" type="xsd:string"/>
+         <element name="MountPointDirectory" type="xsd:string"/>
+         <element name="Type" type="xsd:string"/>
+         <element name="Options">
+            <complexType>
+               <sequence>
+                  <element name="Option" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
+               </sequence>
+            </complexType>
+         </element>
+         <element name="BackupFrequency" type="xsd:int"/>
+         <element name="FsckPassNumber" type="xsd:int"/>
+         <element name="Comment" type="xsd:string"/>
+      
+         <!-- Resource Properties Document Schema -->
+         <element name="FileSystemProperties">
+            <complexType>
+               <sequence>
+                  <!-- props for wsrl:ScheduledResourceTermination portType -->
+                  <element ref="wsrl:CurrentTime"/>
+                  <element ref="wsrl:TerminationTime"/>
+
+                  <!-- props for wsnt:NotificationProducer portType -->
+                  <element ref="wsnt:Topic" minOccurs="1" maxOccurs="unbounded" /> 
+                  <element ref="wsnt:FixedTopicSet" minOccurs="1" maxOccurs="1" /> 
+                  <element ref="wsnt:TopicExpressionDialects" minOccurs="1" maxOccurs="unbounded" />     
+
+                  <!-- props for tns:FileSystemPortType portType -->
+                  <element ref="tns:DeviceSpecialFile"/>
+                  <element ref="tns:MountPointDirectory"/>
+                  <element ref="tns:Type"/>
+                  <element ref="tns:Options"/>
+                  <element ref="tns:BackupFrequency"/>
+                  <element ref="tns:FsckPassNumber"/>
+                  <element ref="tns:Comment" minOccurs="0"/>
+               </sequence>
+            </complexType>
+         </element>
+
+         <!-- ====== Message Types for Custom Operations  ======= -->
+
+         <element name="Mount">
+            <complexType />
+         </element>
+
+         <element name="MountResponse">
+            <complexType />
+         </element>
+
+         <element name="Unmount">
+            <complexType />
+         </element>
+
+         <element name="UnmountResponse">
+            <complexType />
+         </element>
+         
+         <element name="MountDeviceBusyFault">
+            <complexType>
+	       <complexContent>
+	          <extension base="wsbf:BaseFaultType" />
+	       </complexContent>
+            </complexType>
+         </element>
+         
+      </schema>
+   </types>
+
+   <!-- ============= Message Definitions for Custom Operations ============= -->   
+   <message name="MountRequest">
+      <part name="MountRequest" element="tns:Mount"/>
+   </message>
+
+   <message name="MountResponse">
+      <part name="MountResponse" element="tns:MountResponse"/>
+   </message>
+
+   <message name="UnmountRequest">
+      <part name="UnmountRequest" element="tns:Unmount"/>
+   </message>
+
+   <message name="UnmountResponse">
+      <part name="UnmountResponse" element="tns:UnmountResponse"/>
+   </message>
+
+   <message name="MountDeviceBusyFault">
+      <part name="MountDeviceBusyFault" element="tns:MountDeviceBusyFault"/>
+   </message>
+   
+   <portType name="FileSystemPortType" wsrp:ResourceProperties="tns:FileSystemProperties">
+      
+      <!-- wsrpw:* operations -->
+      <operation name="GetResourceProperty">
+         <input name="GetResourcePropertyRequest" message="wsrpw:GetResourcePropertyRequest"/>
+         <output name="GetResourcePropertyResponse" message="wsrpw:GetResourcePropertyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+
+      <operation name="GetMultipleResourceProperties">
+         <input name="GetMultipleResourcePropertiesRequest" message="wsrpw:GetMultipleResourcePropertiesRequest"/>
+         <output name="GetMultipleResourcePropertiesResponse" message="wsrpw:GetMultipleResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+      </operation>
+
+      <operation name="SetResourceProperties">
+         <input name="SetResourcePropertiesRequest" message="wsrpw:SetResourcePropertiesRequest"/>
+         <output name="SetResourcePropertiesResponse" message="wsrpw:SetResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+         <fault name="InvalidSetResourcePropertiesRequestContentFault" message="wsrpw:InvalidSetResourcePropertiesRequestContentFault"/>
+         <fault name="UnableToModifyResourcePropertyFault" message="wsrpw:UnableToModifyResourcePropertyFault"/>
+         <fault name="SetResourcePropertyRequestFailedFault" message="wsrpw:SetResourcePropertyRequestFailedFault"/>
+      </operation>
+
+      <operation name="QueryResourceProperties">
+         <input name="QueryResourcePropertiesRequest" message="wsrpw:QueryResourcePropertiesRequest"/>
+         <output name="QueryResourcePropertiesResponse" message="wsrpw:QueryResourcePropertiesResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrpw:ResourceUnknownFault"/>
+         <fault name="InvalidResourcePropertyQNameFault" message="wsrpw:InvalidResourcePropertyQNameFault"/>
+         <fault name="UnknownQueryExpressionDialectFault" message="wsrpw:UnknownQueryExpressionDialectFault"/>
+         <fault name="InvalidQueryExpressionFault" message="wsrpw:InvalidQueryExpressionFault"/>
+         <fault name="QueryEvaluationErrorFault" message="wsrpw:QueryEvaluationErrorFault"/>
+      </operation>
+      
+      <!-- wsrlw:ImmediateResourceTermination operation -->
+      <operation name="Destroy">
+         <input message="wsrlw:DestroyRequest"/>
+         <output message="wsrlw:DestroyResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <fault name="ResourceNotDestroyedFault" message="wsrlw:ResourceNotDestroyedFault"/>
+      </operation>
+      
+      <!-- wsrlw:ScheduledResourceTermination operation -->
+      <operation name="SetTerminationTime">
+         <input message="wsrlw:SetTerminationTimeRequest"/>
+         <output message="wsrlw:SetTerminationTimeResponse"/>
+         <fault name="ResourceUnknownFault" message="wsrlw:ResourceUnknownFault"/>
+         <fault name="UnableToSetTerminationTimeFault" message="wsrlw:UnableToSetTerminationTimeFault"/>
+         <fault name="TerminationTimeChangeRejectedFault" message="wsrlw:TerminationTimeChangeRejectedFault"/>
+      </operation>
+      
+      <!-- wsntw:NotificationProducer operations -->
+      <operation name="Subscribe">
+         <input message="wsntw:SubscribeRequest" /> 
+         <output message="wsntw:SubscribeResponse" /> 
+         <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" /> 
+         <fault name="SubscribeCreationFailedFault" message="wsntw:SubscribeCreationFailedFault" /> 
+         <fault name="TopicPathDialectUnknownFault" message="wsntw:TopicPathDialectUnknownFault" /> 
+      </operation>
+      
+      <operation name="GetCurrentMessage">
+         <input message="wsntw:GetCurrentMessageRequest" /> 
+         <output message="wsntw:GetCurrentMessageResponse" /> 
+         <fault name="ResourceUnknownFault" message="wsntw:ResourceUnknownFault" /> 
+         <fault name="InvalidTopicExpressionFault" message="wsntw:InvalidTopicExpressionFault" /> 
+         <fault name="TopicNotSupportedFault" message="wsntw:TopicNotSupportedFault" /> 
+         <fault name="NoCurrentMessageOnTopicFault" message="wsntw:NoCurrentMessageOnTopicFault" /> 
+      </operation> 
+      
+      <!-- custom operations -->
+      <operation name="Mount">
+         <input  name="MountRequest"         message="tns:MountRequest" />
+         <output name="MountResponse"        message="tns:MountResponse" />
+         <fault  name="MountDeviceBusyFault" message="tns:MountDeviceBusyFault" />
+      </operation>      
+
+      <operation name="Unmount">
+         <input  name="UnmountRequest"       message="tns:UnmountRequest" />
+         <output name="UnmountResponse"      message="tns:UnmountResponse" />
+         <fault  name="MountDeviceBusyFault" message="tns:MountDeviceBusyFault" />
+      </operation>            
+
+   </portType>
+
+   <binding name="FileSystemSoapHttpBinding" type="tns:FileSystemPortType">
+
+      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+   
+      <!-- wsrpw:* operations -->
+      <operation name="GetResourceProperty">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <operation name="GetMultipleResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <operation name="SetResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+         <fault name="UnableToModifyResourcePropertyFault">
+            <soap:fault name="UnableToModifyResourcePropertyFault" use="literal"/>
+         </fault>
+         <fault name="InvalidSetResourcePropertiesRequestContentFault">
+            <soap:fault name="InvalidSetResourcePropertiesRequestContentFault" use="literal"/>
+         </fault>
+         <fault name="SetResourcePropertyRequestFailedFault">
+            <soap:fault name="SetResourcePropertyRequestFailedFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <operation name="QueryResourceProperties">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidResourcePropertyQNameFault">
+            <soap:fault name="InvalidResourcePropertyQNameFault" use="literal"/>
+         </fault>
+         <fault name="UnknownQueryExpressionDialectFault">
+            <soap:fault name="UnknownQueryExpressionDialectFault" use="literal"/>
+         </fault>
+         <fault name="InvalidQueryExpressionFault">
+            <soap:fault name="InvalidQueryExpressionFault" use="literal"/>
+         </fault>
+         <fault name="QueryEvaluationErrorFault">
+            <soap:fault name="QueryEvaluationErrorFault" use="literal"/>
+         </fault>
+      </operation>
+      
+      <!-- wsrlw:ImmediateResourceTermination operation -->
+      <operation name="Destroy">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="ResourceNotDestroyedFault">
+            <soap:fault name="ResourceNotDestroyedFault" use="literal"/>
+         </fault>
+      </operation>            
+    
+      <!-- wsrlw:ScheduledResourceTermination operation -->
+      <operation name="SetTerminationTime">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="UnableToSetTerminationTimeFault">
+            <soap:fault name="UnableToSetTerminationTimeFault" use="literal"/>
+         </fault>
+         <fault name="TerminationTimeChangeRejectedFault">
+            <soap:fault name="TerminationTimeChangeRejectedFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <!-- wsntw:NotificationProducer operations -->
+      <operation name="Subscribe">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="SubscribeCreationFailedFault">
+            <soap:fault name="SubscribeCreationFailedFault" use="literal"/>
+         </fault>
+         <fault name="TopicPathDialectUnknownFault">
+            <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
+         </fault>         
+      </operation>            
+      <operation name="GetCurrentMessage">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="ResourceUnknownFault">
+            <soap:fault name="ResourceUnknownFault" use="literal"/>
+         </fault>
+         <fault name="InvalidTopicExpressionFault">
+            <soap:fault name="InvalidTopicExpressionFault" use="literal"/>
+         </fault>
+         <fault name="TopicNotSupportedFault">
+            <soap:fault name="TopicPathDialectUnknownFault" use="literal"/>
+         </fault>         
+         <fault name="NoCurrentMessageOnTopicFault">
+            <soap:fault name="NoCurrentMessageOnTopicFault" use="literal"/>
+         </fault>         
+      </operation>            
+
+      <!-- custom operations -->
+      <operation name="Mount">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="MountDeviceBusyFault">
+            <soap:fault name="MountDeviceBusyFault" use="literal"/>
+         </fault>
+      </operation>
+
+      <operation name="Unmount">
+         <soap:operation style="document"/>
+         <input>
+            <soap:body use="literal"/>
+         </input>
+         <output>
+            <soap:body use="literal"/>
+         </output>
+         <fault name="MountDeviceBusyFault">
+            <soap:fault name="MountDeviceBusyFault" use="literal"/>
+         </fault>
+      </operation>
+
+   </binding>
+
+   <service name="FileSystemService">
+      <!-- Note: the port name becomes the service name in the wsdd generated by Axis Wsdl2Java -->
+      <port name="filesystem" binding="tns:FileSystemSoapHttpBinding">
+         <soap:address location="http://localhost:8080/pubscribe/services/filesystem"/>
+      </port>
+   </service>
+
+</definitions>