You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by jr...@apache.org on 2005/07/29 01:44:15 UTC
svn commit: r226296 - in /webservices/muse/trunk/src:
examples/filesystem/src/java/org/apache/ws/resource/example/host/
site/content/xdocs/ site/content/xdocs/dev_guide/
site/content/xdocs/tutorial/
Author: jruzzi
Date: Thu Jul 28 16:44:09 2005
New Revision: 226296
URL: http://svn.apache.org/viewcvs?rev=226296&view=rev
Log:
sal and ian updates
Modified:
webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java
webservices/muse/trunk/src/site/content/xdocs/dev_guide/home.xml
webservices/muse/trunk/src/site/content/xdocs/dev_guide/wsdl_tool.xml
webservices/muse/trunk/src/site/content/xdocs/getting_started.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/index.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_home.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_resource.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/setup.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/test.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/webapp.xml
webservices/muse/trunk/src/site/content/xdocs/tutorial/wsdl2java.xml
Modified: webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java (original)
+++ webservices/muse/trunk/src/examples/filesystem/src/java/org/apache/ws/resource/example/host/HostHome.java Thu Jul 28 16:44:09 2005
@@ -52,13 +52,8 @@
public void init() throws Exception
{
super.init();
- // You may create and add any known resource instances here.
- //String instance1_id = "00000001";
- //HostResource instance1 = (HostResource) createInstance( instance1_id );
- //add( instance1_id, instance1 );
+ add( createInstance( null ) );
- HostResource host = (HostResource) createInstance( null );
- add( host );
}
public QName getServiceName()
Modified: webservices/muse/trunk/src/site/content/xdocs/dev_guide/home.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/dev_guide/home.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/dev_guide/home.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/dev_guide/home.xml Thu Jul 28 16:44:09 2005
@@ -11,16 +11,16 @@
<p>The home class is used to lookup the resource instance. It can act as a factory for creating instances upon request, or build all instances. It is meant
to be the entry point for locating a resource instance.
</p>
- <note>If your service is a singleton and only requires a single resource instance, see the <a href="ext:single">Creating a Singleton Service</a> in the Apache WSRF
+ <note>If your service is a singleton and only requires a single resource instance, see the <a href="ext:single">Creating a Singleton Service</a> in the Apache WSRF
documentation.</note>
- <p>If you use the Wsdl2Java tool, the home class is automatically generated, but will need to modified to create instances of your resource. This section will
+ <p>If you use the Wsdl2Java tool, the home class is automatically generated but will need to modified to create instances of your resource. This section will
describe how to write a home class for your resource. Initially, you should model your resource off of the included <code>FilesystemHome</code> example
to ensure that you write a valid home class for your resource.</p>
</section>
<section id="class-declaration">
<title>Class Declaration</title>
- <p>When declaring your home you <strong>should</strong> extend <code>AbstractResourceHome</code>. Extending <code>AbstractResourceHome</code>
- will provide services for caching instances and looking them up. It will also ensure
+ <p>The generated home class extends <code>AbstractResourceHome</code>. Extending <code>AbstractResourceHome</code>
+ provides services for caching instances and looking them up. It also ensures
that the correct interfaces are implemented so that Apache WSRF can interact with your home.
</p>
<p>The <code>FileSystemHome</code> class extends <code>AbstractResourceHome</code> and implements <code>Serializable</code>:</p>
@@ -36,10 +36,8 @@
<source>public void init() throws Exception
{
super.init();
- FilesystemResource lvol1Resource = (FilesystemResource) createInstance( LVOL1_ID );
- add( lvol1Resource );
- FilesystemResource lvol2Resource = (FilesystemResource) createInstance( LVOL1_ID );
- add( lvol2Resource );
+ add( createInstance( LVOL1_ID ) );
+ add( createInstance( LVOL2_ID ) );
}</source>
<note>Many of the operations in the <code>AbstractResourceHome</code> may be overridden in your Home
class, if you have a need to extend its functionality.</note>
Modified: webservices/muse/trunk/src/site/content/xdocs/dev_guide/wsdl_tool.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/dev_guide/wsdl_tool.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/dev_guide/wsdl_tool.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/dev_guide/wsdl_tool.xml Thu Jul 28 16:44:09 2005
@@ -15,7 +15,7 @@
<li>Interfaces for custom operations.</li>
<li>Java bindings for all Types that are defined in the WSDL. The interfaces and classes are
created using the <a href="ext:xmlbeans.apache.org">XMLBeans</a> schema compiler</li>
- <li>an Axis Web Service Deployment Descriptor (WSDD) for your service (<em>service</em>_deploy.wsdd). This file is used to deploy your service to
+ <li>An Axis Web Service Deployment Descriptor (WSDD) for your service (<em>service</em>_deploy.wsdd). This file is used to deploy your service to
Axis.</li>
<li>A JNDI Resource configuration file for your service (<em>service</em>_jndi-config.xml). The file is used to setup the in-memory JNDI context for
your generated service, resource, and home classes.</li>
@@ -32,7 +32,10 @@
<p>To use the target:</p>
<ol>
<li>Copy INSTALL_DIR/template/build.xml and build.properties to any directory. This directory will be referred to as <code>WORK_DIR</code>.</li>
- <li>Modify build.properties and modify the <code>muse.webapp.dir</code> property and any proxy settings if applicable.</li>
+ <li>Using a text editor, open <code>WORK_DIR/build.properties</code>.</li>
+ <li>Uncomment the <code>muse.webapp.dir</code> property and set it to the location where the MUSE Web application is installed. If you are using
+ Tomcat and have the <code>CATALINA_HOME</code> environment variable set, you do not need to modify this property.</li>
+ <li>Uncomment and modify the proxy settings if you require a proxy to connect to external Web sites.</li>
<li>Copy your MUWS WSDL to <code>WORK_DIR</code>. If your WSDL depends on a schema that is not accessible over the network, you must copy the
schema to this directory as well.</li>
<li>From a command prompt, change directories to <code>WORK_DIR</code>.</li>
@@ -72,8 +75,8 @@
</tr>
<tr>
<td>classpath</td>
- <td>The classpath to be passed to the XMLBeans schema compiler. The classpath should reference the <code>INSTALL_DIR/wsrf/webapp/lib</code>
- and <code>/classes</code> directories.</td>
+ <td>The classpath to be passed to the XMLBeans schema compiler. The classpath should reference all the jars in the
+ <code>INSTALL_DIR/wsrf/webapp/lib</code> and <code>/classes</code> directories.</td>
<td>Yes</td>
</tr>
<tr>
Modified: webservices/muse/trunk/src/site/content/xdocs/getting_started.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/getting_started.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/getting_started.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/getting_started.xml Thu Jul 28 16:44:09 2005
@@ -22,41 +22,94 @@
<section id="install">
<title>Installation</title>
<p> Apache MUSE is packaged as a Web application. In particular, it is an Apache Axis-based Web application with
- additional functionality that is required to implement the MUWS specifications.</p>
+ additional functionality that is required to implement the WSDM specifications.</p>
<p>To run and install Apache MUSE, you must first:</p>
<ul>
<li>install Apache Tomcat or a similar Web container. The documentation assumes Tomcat and refers to the Tomcat
home directory (e.g., <code>c:\jakarta-tomcat-4.1.30</code>) as <code>TOMCAT_HOME</code>. In addition, it is assumed that Tomcat
is configured to listen at the default HTTP port (8080).</li>
- <li>install Apache Ant 1.6.X and include its <code>bin</code> directory in the <code>PATH</code> environment variable.</li>
+ <li>install Apache Ant 1.6.X and include its <code>bin</code> directory in the <code>PATH</code> environment variable. Set an
+ ANT_HOME environment variable to the Ant installation directory.</li>
</ul>
<p>To install Apache MUSE:</p>
<ol>
- <li>Download the Apache Muse <a href="site:releases">binary distribution</a>.</li>
+ <li>Download the Apache MUSE <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/muse</code> directory to <code>TOMCAT_HOME/webapps</code>.</li>
<li>Start Tomcat.</li>
- <li>Using a browser, go to <a href="http://localhost:8080/muse">http://localhost:8080/muse</a>. The Apache-Axis welcome page
+ <li>Using a browser, go to <a href="http://localhost:8080/muse">http://localhost:8080/muse</a>. The Apache MUSE welcome page
displays.</li>
- <li>From the Apache-Axis page, click <a href="http://localhost:8080/muse/servlet/AxisServlet">View</a>. The list of deployed Web services
- displays. Five services are deployed: <code>filesystem</code>, <code>SubscriptionManager</code>, <code>ResourceAdvertiser</code>,
+ <li>From the Apache-Axis page, click <a href="http://localhost:8080/muse/services">View</a>. The list of deployed Web services
+ displays. Four services are deployed: <code>SubscriptionManager</code>, <code>ResourceAdvertiser</code>,
<code>AdminService</code>, and <code>Version</code>. The <code>AdminService</code> and <code>Version</code> services are default
- Apache-Axis services. The <code>filesystem</code> service is a pre-deployed example and is discussed in the
- <a href="site:quick">Quick Demonstration</a> section below. The <code>SubscriptionManager</code> is used to pause, resume, destroy, or update
- subscriptions. Lastly, the <code>ResourceAdvertiser</code> is used to get resource properties and subscribe to notifications.</li>
+ Apache-Axis services. The <code>SubscriptionManager</code> is used to pause, resume, destroy, or update
+ subscriptions. Lastly, <code>ResourceAdvertiser</code> is used to get resource properties and subscribe to notifications.</li>
<li>Click on the respective WSDL links to view and ensure that the WSDL for the services are published.</li>
</ol>
</section>
<section id="qd">
<title>Quick Demonstration</title>
<p>The Quick Demonstration shows some of the features and implementation details of Apache MUSE. 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
+ included in the distribution. The example represents a UNIX file system resource whose
management capabilities are exposed as a MUWS-compliant Web service.</p>
- <note>The <a href="site:tut">tutorial</a> provides a step-by-step approach for exposing the management capabilities of the file system resource. In essence, the tutorial builds and deploys the example that is used in this demo.</note>
- <p>Complete the following demonstration steps:</p>
+ <note>The <a href="site:tut">tutorial</a> provides a step-by-step approach for exposing the management capabilities of the file system resource. In essence, the tutorial builds and
+ deploys the example that is used in this demo.</note>
+ <p>Complete the following steps:
+ </p>
<ol>
+ <li>Using a text editor, open <code>INSTALL_DIR/examples/filesystem/build.properties</code>.</li>
+ <li>Change the <code>muse.webapp.dir</code> property and set it to the location where the MUSE Web application is installed.
+ If you are using Tomcat and have <code>CATALINA_HOME</code> set, you do not need to modify this property.</li>
+ <li>Uncomment and modify the proxy settings if you require a proxy to connect to external Web sites.</li>
+ <li>Save and close build.properties.</li>
+ <li>Open a command prompt and change directories to <code>INSTALL_DIR/examples/filesystem</code>.</li>
+ <li>Run the following command:
+ <p>
+ <code>ant compile deploy</code>
+ </p>
+ </li>
+ <li>Start Tomcat. If Tomcat is already started, you must restart it.</li>
+ <li>Using a browser, go to <a href="http://localhost:8080/muse/servlet/AxisServlet">
+ http://localhost:8080/muse/servlet/AxisServlet</a> and verify that the filesystem service is deployed.
+ </li>
+ <li>From a command prompt change directories to <code>INSTALL_DIR/examples/filesystem</code> directory. An ANT-based SOAP client that is included in the distribution is used
+ to send a SOAP request to the filesystem Web service.</li>
<li>
- <strong>Perform Operations:</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 13 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>
+ <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 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>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/muse/trunk/src/site/content/xdocs/tutorial/index.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/index.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/index.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/index.xml Thu Jul 28 16:44:09 2005
@@ -12,6 +12,7 @@
services represent a UNIX file system resource and a host resource. If you want to see a completed version of this example, see the
<a href="site:quick">Quick Demonstration</a>.
</p>
+ <note>To complete the tutorial, you must first <a href="site:installation">install</a> the distribution.</note>
<p>The tutorial consists of the following steps:</p>
<ol>
<li>
Modified: webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_home.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_home.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_home.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_home.xml Thu Jul 28 16:44:09 2005
@@ -8,12 +8,12 @@
<body>
<section>
<title>Introduction</title>
- <p>The Home is used to lookup the resource instance. It can act as a factory for creating instances upon request, or build all instances.
+ <p>The Home is used to lookup a resource instance. It can act as a factory for creating instances upon request, or build all instances.
It is meant to be the entry point for locating a resource instance. In this step of the tutorial, the generated Home classes (<code>FilesystemHome</code> and <code>
HostHome</code>) are modified to include an <code>init()</code> method.</p>
</section>
<section>
- <title>Modify the FileSytem Home Class</title>
+ <title>Modify the FilesytemHome Class</title>
<p>Open <code>WORK_DIR/generated/Filesystem/src/java/org/apache/ws/resource/example/filesystem/FilesystemHome.java</code> and
replace the <code>public void init()</code> method with the following method. You will also need to copy the instance variables below.</p>
<source><![CDATA[
@@ -28,10 +28,8 @@
public void init() throws Exception
{
super.init();
- FilesystemResource lvol1Resource = (FilesystemResource) createInstance( LVOL1_ID );
- add( lvol1Resource );
- FilesystemResource lvol2Resource = (FilesystemResource) createInstance( LVOL2_ID );
- add( lvol2Resource );
+ add( createInstance( LVOL1_ID ) );
+ add( createInstance( LVOL2_ID ) );
}]]></source>
</section>
<section>
@@ -39,17 +37,13 @@
<p>Open <code>WORK_DIR/generated/Host/src/java/org/apache/ws/resource/example/host/HostHome.java</code> and
replace the <code>init()</code> method with the following method:
</p>
- <source><![CDATA[public void init() throws Exception
+ <source><![CDATA[
+public void init() throws Exception
{
super.init();
- // You may create and add any known resource instances here.
- //String instance1_id = "00000001";
- //HostResource instance1 = (HostResource) createInstance( instance1_id );
- //add( instance1_id, instance1 );
+ add( createInstance( null ) );
- HostResource host = (HostResource) createInstance( null );
- add( host );
- } ]]></source>
+ } ]]></source>
<p>
<img src="images/back.gif" alt="go to the previous step"/>
<a href="site:wsdl2java">Back</a>
Modified: webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_resource.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_resource.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_resource.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/mod_resource.xml Thu Jul 28 16:44:09 2005
@@ -8,12 +8,12 @@
<body>
<section>
<title>Introduction</title>
- <p>In this step of the tutorial, the generated Resource classes (<code>FilesystemResource</code> and <code>HostResource</code>) are modified to include an
- <code>init</code> method as well as several methods for the filesystem's custom operations. The Resource class is the stateful instance-representation of a
+ <p>In this step of the tutorial, the generated Resource classes (<code>FilesystemResource</code> and <code>HostResource</code>) are modified modified to implement
+ the <code>init</code> method as well as several methods for the filesystem's custom operations. The Resource class is the stateful instance-representation of a
Web service. The resource maintains the resource <code>id</code> and the <code>ResourcePropertySet</code>. The resource <code>id</code> is the unique
- identifier for an instance of your Web service. It allows you to have multiple resource instances, each with their own state, fronted by the same Web service. The
- stateful properties are represented by the <code>ResourcePropertySet</code>. The <code>ResourcePropertySet</code> is the Java representation of the
- Resource Properties document defined in the schema section of your WSDL file.
+ identifier for an instance of your Web service. It allows you to have multiple resource instances, each with their own states, fronted by the same Web service.
+ The stateful properties are represented by the <code>ResourcePropertySet</code>. The <code>ResourcePropertySet</code> is the Java representation of the
+ Resource Properties document defined in the types section of your WSDL file.
</p>
<p>
The resource class is also used to expose resource properties as notification topics and register the exposed topics. This includes MUWS specific topics for all
@@ -26,10 +26,11 @@
<section>
<title>Modify the FileSystem Resource Class</title>
<p>Open <code>WORK_DIR/generated/Filesystem/src/java/org/apache/ws/resource/example/filesystem/FilesystemResource.java</code> and
- replace the <code>public void init()</code> method with the following methods. You will also need to copy the instance variables below.</p>
+ replace the <code>public void init()</code> method with the following methods. You will also need to copy the instance variables and custom operation
+ methods below.</p>
<source><![CDATA[
private static final String HOST_HOME_LOCATION =
- org.apache.ws.resource.JndiConstants.CONTEXT_NAME_SERVICES + "/Host/" + org.apache.ws.resource.JndiConstants.ATOMIC_NAME_HOME;
+ org.apache.ws.resource.JndiConstants.CONTEXT_NAME_SERVICES + "/Host/" + org.apache.ws.resource.JndiConstants.ATOMIC_NAME_HOME;
private example.filesystem.backend.FileSystem m_filesystem;
@@ -40,6 +41,10 @@
{
super.init();
+ /*
+ * This is where you should associate the backend instance with
+ * the resource instance for a given id.
+ */
m_filesystem = new example.filesystem.backend.UnixFileSystem( m_id );
/*
@@ -199,6 +204,7 @@
throw new RuntimeException( "There was a problem in initializing your resource properties. Please check your init() method. Cause: " +
e.getLocalizedMessage() );
}
+
// Resource Property {http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd}TerminationTime is implemented by the framework.
// Resource Property {http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd}CurrentTime is implemented by the framework.
// Resource Property {http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd}FixedTopicSet is implemented by the framework.
@@ -220,6 +226,7 @@
throw new RuntimeException(
"Unable to init the ResourceTermination topic. Cause: " + e.getLocalizedMessage(), e );
}
+
/**
* This method call will make all resource properties be exposed
* as Topics. If you would like to change that behaviour you can
@@ -237,25 +244,6 @@
"Unable to init the ResourceProperty Changed topics. Cause: " + e.getLocalizedMessage(), e );
}
- /**
- * Initializes the Topic, TopicExpressionDialects and FixedTopicSet resource properties
- *
- * </br>
- * <strong>NOTE this MUST be called last in the Resource.init() method to ensure all topics get registered</strong>
- * </br>
- * FixedTopicSet will be set based on the value returned from the {@see TopicSpaceSet#isFixed()} method.
- * </br>
- * Topic will have all root topics in the TopicSpaceSet, set to Simple dialect AND all child topics set ot
- * Concrete dialect.
- * </br>
- *
- * TopicExpressionDialects will be set to the engine's known Topic Dialects acquired from the TopicExpressionEngine
- *
- * @param topicSpaceSet
- * @param propSet
- */
- org.apache.ws.notification.topics.util.TopicUtils.initNotificationProducerProperties( getTopicSpaceSet(),
- getResourcePropertySet() );
}
public void mount() throws Exception
@@ -301,7 +289,6 @@
throw new javax.xml.rpc.JAXRPCException("There was a problem in initializing your resource properties. Please check your init() method. Cause: " + e.getLocalizedMessage());
}
}]]></source>
-
<p>
<img src="images/back.gif" alt="go to the previous step"/>
<a href="site:modhome">Back</a>
Modified: webservices/muse/trunk/src/site/content/xdocs/tutorial/setup.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/setup.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/setup.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/setup.xml Thu Jul 28 16:44:09 2005
@@ -23,7 +23,7 @@
<li>Copy all the files in <code>INSTALL_DIR/template</code> to <code>WORK_DIR</code>.</li>
<li>Using a text editor, open <code>WORK_DIR/build.properties</code>.</li>
<li>Uncomment the <code>muse.webapp.dir</code> property and set it to the location where the MUSE Web application is installed. If you are using
- Tomcat and have <code>CATALINA_HOME</code> set, you do not need to modify this property.</li>
+ Tomcat and have the <code>CATALINA_HOME</code> environment variable set, you do not need to modify this property.</li>
<li>Uncomment and modify the proxy settings if you require a proxy to connect to external Web sites.</li>
<li>Save and close build.properties.</li>
</ol>
Modified: webservices/muse/trunk/src/site/content/xdocs/tutorial/test.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/test.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/test.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/test.xml Thu Jul 28 16:44:09 2005
@@ -23,10 +23,11 @@
<li>Run:
<source><![CDATA[
ant -f soapclient.xml -Durl=http://localhost:8080/muse/services/filesystem -Dxml=INSTALL_DIR/examples/filesystem/requests/Subscribe_updateMountPointProp.soap]]></source>
- Replace <code>INSTALL_DIR</code> in the <code>xml</code> property. You should also try other request messages in the
- <code>requests</code> directory.</li>
+ Replace <code>INSTALL_DIR</code> in the <code>xml</code> property.</li>
</ol>
- <p>
+ <p>You may also try other request messages in the
+ <code>requests</code> directory.</p>
+ <p>
<img src="images/back.gif" alt="go to the previous step"/>
<a href="site:webapp">Back</a>
</p>
Modified: webservices/muse/trunk/src/site/content/xdocs/tutorial/webapp.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/webapp.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/webapp.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/webapp.xml Thu Jul 28 16:44:09 2005
@@ -30,8 +30,8 @@
<li>From a command prompt, change directories to <code>WORK_DIR/generated/Filesystem</code>.</li>
<li>Run <code>ant compile deploy</code>. The service is compiled and deployed to the MUSE Web application.</li>
<li>Start Tomcat if it is not already started.</li>
- <li>Using a browser, go to <a href="http://doc-lab.americas.hpqcorp.net:8080/muse/servlet/AxisServlet">
- http://doc-lab.americas.hpqcorp.net:8080/muse/servlet/AxisServlet</a> and verify that the filesystem service is deployed.
+ <li>Using a browser, go to <a href="http://doc-lab.americas.hpqcorp.net:8080/muse/services">
+ http://doc-lab.americas.hpqcorp.net:8080/muse/services</a> and verify that the filesystem service is deployed.
</li>
</ol>
</section>
@@ -57,7 +57,6 @@
</li>
</ol>
</section>
- <note>Please refer to the Tomcat and Axis documentation if you do not know how to start Tomcat.</note>
<p>
<img src="images/back.gif" alt="go to the previous step"/>
<a href="site:modresource">Back</a>
Modified: webservices/muse/trunk/src/site/content/xdocs/tutorial/wsdl2java.xml
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/src/site/content/xdocs/tutorial/wsdl2java.xml?rev=226296&r1=226295&r2=226296&view=diff
==============================================================================
--- webservices/muse/trunk/src/site/content/xdocs/tutorial/wsdl2java.xml (original)
+++ webservices/muse/trunk/src/site/content/xdocs/tutorial/wsdl2java.xml Thu Jul 28 16:44:09 2005
@@ -9,11 +9,11 @@
<section>
<title>Introduction</title>
<p>In this step of the tutorial, the MUWS Wsdl2Java tool is used to generate a set of artifacts for the filesystem and host example. The tool takes any number of WSDL files
- as its input and outputs the following artificats for each WSDL:
+ as its input and outputs the following artifacts for each WSDL:
</p>
<ul>
<li>
- <a href="ext:xmlbeans.apache.org">XMLBeans</a> for all XML Schema types and elements defined in the types section of the WSDL</li>
+ <a href="ext:xmlbeans.apache.org">XMLBeans</a> for all XML Schema types and elements defined in the types section of the WSDL</li>
<li>an abstract base Resource class</li>
<li>an abstract base Service class</li>
<li>an abstract base Home class</li>
@@ -37,7 +37,7 @@
</li>
</ol>
<p>The artifacts are generated and placed in <code>WORK_DIR/generated</code>. For more information about the
- WSDL2Java tool and the generated artificats, see <a href="site:tool">Using the WSDL2Java Tool</a> in the Developer's Guide.</p>
+ WSDL2Java tool and the generated artifacts, see <a href="site:tool">Using the WSDL2Java Tool</a> in the Developer's Guide.</p>
<p>
<img src="images/back.gif" alt="go to the previous step"/>
<a href="site:wsdl">Back</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org