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/20 01:10:39 UTC

svn commit: r219800 - in /webservices/pubscribe/trunk/src/site/content/xdocs: getting_started.xml site.xml

Author: jruzzi
Date: Tue Jul 19 16:10:38 2005
New Revision: 219800

URL: http://svn.apache.org/viewcvs?rev=219800&view=rev
Log:
updated content

Modified:
    webservices/pubscribe/trunk/src/site/content/xdocs/getting_started.xml
    webservices/pubscribe/trunk/src/site/content/xdocs/site.xml

Modified: webservices/pubscribe/trunk/src/site/content/xdocs/getting_started.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/site/content/xdocs/getting_started.xml?rev=219800&r1=219799&r2=219800&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/site/content/xdocs/getting_started.xml (original)
+++ webservices/pubscribe/trunk/src/site/content/xdocs/getting_started.xml Tue Jul 19 16:10:38 2005
@@ -41,6 +41,7 @@
 				<li>Download the Apache Pubscribe <a href="site:releases">binary distribution</a>.</li>
 				<li>Unzip the distribution to a location on your computer. This location is referred to as <code>INSTALL_DIR</code>.</li>
 				<li>From <code>INSTALL_DIR</code>, copy the <code>webapps/pubscribe</code> directory to <code>TOMCAT_HOME/webapps</code>.</li>
+				<li>Start Tomcat.</li>
 				<li>Using a browser, go to  <a href="http://localhost:8080/pubscribe">http://localhost:8080/pubscribe</a>. The Apache-Axis welcome page 
 				displays.</li>
 				<li>From the Apache-Axis page, click <a href="http://localhost:8080/pubscribe/servlet/AxisServlet">View</a>. The list of 
@@ -56,19 +57,47 @@
 			<title>Quick Demonstration</title>
 			<p>The Quick Demonstration shows some of the features and implementation details of Apache Pubscribe. The demo uses an example that is 
 			included in the distribution and is automatically deployed in Apache-Axis. The example represents a UNIX file system resource whose 
-			management capabilities are exposed as a WSRF-compliant Web service and includes a notification service used to subscribe to events.</p>
+			management capabilities are exposed as a WSRF-compliant Web service and includes a notification producer used to subscribe to events.</p>
 			<note>The <a href="site:tut">tutorial</a> provides a step-by-step approach for implementing notifications for WSRF-based resources. In essence, the 
 			tutorial builds and deploys the example that is used in this demo.</note>
-			<p>Complete the following demonstration steps:</p>
+			<p>From a command prompt, change directory to <code>INSTALL_DIR/examples/filesystem</code> and issue the following commands:
+			</p>
 			<ol>
 				<li>
-					<strong>Subscribe to Notifications: </strong>TODO.</li>
+					<strong>Subscribe to a Notification Topic: </strong>
+					<br />
+					<p>In this step, a request is sent to subscribe to the notification topic for the <code>MountPointDirectory</code> resource property of the UNIX file 
+					system resource. </p>
+					<source><![CDATA[
+ ant -f soapclient.xml -Durl=http://localhost:8080/pubscribe/services/filesystem -Dxml=requests/Subscribe_updateMountPointProp.soap]]></source>
+				<note>To complete step 4 later in this demonstration, you must copy the <code>ResourceIdentifier</code> value that is returned in the SOAP body of  
+				the response for this request. This is the subscription's identifier. 
+				</note><br />
+				</li>
 				<li>
-					<strong>Cause an Event: </strong>TODO.</li>
+					<strong>Cause an Event:</strong>
+					<br />
+					<p>In this step, the <code>MountPointDirectory</code> resource property is changed. This will cause a notification to be published.</p>
+					<source><![CDATA[
+ ant -f soapclient.xml -Durl=http://localhost:8080/pubscribe/services/filesystem -Dxml=requests/SetResourceProperties_updateMountPointProp.soap]]></source>
+				</li>
 				<li>
-					<strong>View Notifications: </strong>TODO.</li>
+					<strong>View Notification: </strong>
+					<br />
+					<p>In this step, we will retrieve the notification that was published when the <code>MountPointDirectory</code> resource property was changed in 
+					the previous step.</p>
+					<source><![CDATA[
+ ant -f soapclient.xml -Durl=http://localhost:8080/pubscribe/services/filesystem -Dxml=requests/GetCurrentMessage.soap]]></source>
+ 				</li>
 				<li>
-					<strong>Cancel subscripition: </strong>TODO.</li>
+					<strong>Destroy Subscription:</strong>
+					<br />
+					<p>In this step, a request is sent to destroy the notification topic subscription. Before completing this step, open the
+					<code>requests/Destroy_Subscription.soap</code> file and update the <code>sub:ResourceIdentifier</code> element with the value that was copied 
+					in step 1. Save and close the file.</p>
+					<source><![CDATA[
+ ant -f soapclient.xml -Durl=http://localhost:8080/pubscribe/services/SubscriptionManager -Dxml=requests/Destroy_Subscription.soap]]></source>
+				</li>
 			</ol>
 		</section>
 	</body>

Modified: webservices/pubscribe/trunk/src/site/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/site/content/xdocs/site.xml?rev=219800&r1=219799&r2=219800&view=diff
==============================================================================
--- webservices/pubscribe/trunk/src/site/content/xdocs/site.xml (original)
+++ webservices/pubscribe/trunk/src/site/content/xdocs/site.xml Tue Jul 19 16:10:38 2005
@@ -45,8 +45,12 @@
 		<dev label="Overview" href="index.html"/>
 		<compose label="WSRF/WSN WSDL" href="wsdl.html"/>
 		<tool label="Using Wsdl2Java" href="wsdl_tool.html"/>
-		<producer label="Notification Producer Topics" href="producer.html"/>
+		<home label="Home Class" href="home.html"/>
+		<producer label="Notification Producer" href="producer.html"/>
+		<consumer label="Notification Consumer" href="consumer.html"/>
 		<subscript label="Subscription Manager" href="subscription.html"/>
+		<deploy label="Deploying" href="deploy.html"/>
+		<client label="Using the SOAP Client" href="client.html"/>
 	</developer>
 	<projects label="Related Projects">
 		<axis label="Axis" href="ext:axis"/>