You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by ae...@apache.org on 2007/03/19 03:15:07 UTC
svn commit: r519794 - in /webservices/muse/site/docs/2.2.0:
manual/tools/wsdl2java.html tutorial/01-install-muse.html
tutorial/03-wsdl2java.html
Author: aeberbac
Date: Sun Mar 18 19:15:06 2007
New Revision: 519794
URL: http://svn.apache.org/viewvc?view=rev&rev=519794
Log:
MUSE-197: Updating docs
Modified:
webservices/muse/site/docs/2.2.0/manual/tools/wsdl2java.html
webservices/muse/site/docs/2.2.0/tutorial/01-install-muse.html
webservices/muse/site/docs/2.2.0/tutorial/03-wsdl2java.html
Modified: webservices/muse/site/docs/2.2.0/manual/tools/wsdl2java.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.2.0/manual/tools/wsdl2java.html?view=diff&rev=519794&r1=519793&r2=519794
==============================================================================
--- webservices/muse/site/docs/2.2.0/manual/tools/wsdl2java.html (original)
+++ webservices/muse/site/docs/2.2.0/manual/tools/wsdl2java.html Sun Mar 18 19:15:06 2007
@@ -484,7 +484,7 @@
<p>A proxy exposes all of the properties and operations of an endpoint using a Java facade. This is a useful convenience for interacting with the endpoint programmatically. See the <a href="../../tutorial/03-wsdl2java.html#Section4">example</a> in the tutorial for more information. </p>
</div>
<div class="subsection">
- <h2>Overwriting</h2>
+ <a name="overwriting"></a><h2>Overwriting</h2>
<p>During <a href="#iterative_development">iterative development</a>, it is common to generate a project into a target directory, find some changes
that need to be made to the WSDL and then regenerate into the same directory. In previous versions of Muse this
posed a problem in deciding which files to overwrite. Initially the approach was extreme caution: do not overwrite
Modified: webservices/muse/site/docs/2.2.0/tutorial/01-install-muse.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.2.0/tutorial/01-install-muse.html?view=diff&rev=519794&r1=519793&r2=519794
==============================================================================
--- webservices/muse/site/docs/2.2.0/tutorial/01-install-muse.html (original)
+++ webservices/muse/site/docs/2.2.0/tutorial/01-install-muse.html Sun Mar 18 19:15:06 2007
@@ -143,11 +143,14 @@
...<br/>
/lib<br/>
/axis2<br/>
+ ...<br/>
+ /axis2-osgi<br/>
...<br/>
/common<br/>
...<br/>
/eclipse-osgi<br/>
- ...<br/>
+ ...<br/>
+ muse-logging-2.2.0.jar<br/>
/modules<br/>
/axis2<br/>
...<br/>
@@ -180,9 +183,11 @@
<br/><br/>
<ul>
<li><b>/axis2</b> - an expanded template WAR from the Apache Axis2 project.<br/></li><br/>
+ <li><b>/axis2-osgi</b> - a set of OSGi bundles that expose the necessary resources from the Apache Axsi2 project.<br/></li><br/>
<li><b>/common</b> - third-party libraries used on all platforms, including Apache Xerces, Apache Xalan, and WSDL4J.<br/></li><br/>
<li><b>/eclipse-osgi</b> - components from the Eclipse Equinox project, which provide the minimum OSGi environment needed to host
- a Muse-based application.<br/></li><br/>
+ a Muse-based application.<br/></li><br/>
+ <li><b>muse-logging-2.2.0.jar</b> - an implementation of java.util.Logging APIs that are compatible with J2ME.</li><br/>
</ul>
<li><b>/modules</b> - contains the jars that contain the muse runtime and tooling implementation.<br/></li><br/>
<ul>
Modified: webservices/muse/site/docs/2.2.0/tutorial/03-wsdl2java.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.2.0/tutorial/03-wsdl2java.html?view=diff&rev=519794&r1=519793&r2=519794
==============================================================================
--- webservices/muse/site/docs/2.2.0/tutorial/03-wsdl2java.html (original)
+++ webservices/muse/site/docs/2.2.0/tutorial/03-wsdl2java.html Sun Mar 18 19:15:06 2007
@@ -138,7 +138,7 @@
To generate a project that can be built to create a WAR file that is deployable run <em>wsdl2java</em> as follows:
<blockquote>
<code>
- wsdl2java -axis2 -wsdl pathToWSDLFile
+ wsdl2java -j2ee axis2 -wsdl pathToWSDLFile
</code>
</blockquote>
<p>Above, <em>pathToWSDLFile</em> should be replaced with the absolute or relative filesystem path to the location of the WSDL document
@@ -173,7 +173,8 @@
/META-INF<br>
<em>services.xml</em><br>
<em>web.xml</em><br>
- <em>build.xml</em>
+ <em>build.xml</em><br/>
+ <em>.overwrite</em>
</code>
</div>
</div>
@@ -214,6 +215,9 @@
in <b>/JavaSource</b> package it into a <em>jar</em> file, copy it to <b>/WebContent/WEB-INF/lib</b> and then package
all of <b>/WebContent</b> into a WAR file that is ready to be deployed on a J2EE server.</li><br/>
</li>
+ <li><b>/.overwrite</b> - a list of files generated by wsdl2java that do not contain user code. Any file named in this
+ manifest will be overwritten by default if the wsdl2java tool is run targetting this directory and the file already exists. For more
+ information see the <a href="../manual/tools/wsdl2java.html#overwriting">reference documentation</a>.</li>
</ul>
<p>Before invoking <a href="http://ant.apache.org" class="external">Ant</a> there might be several actions you must take:
<ul>
@@ -259,7 +263,7 @@
To generate a project that can be built to create an OSGi bundle that is deployable, run <em>wsdl2java</em> as follows:
<blockquote>
<code>
- wsdl2java -osgi -wsdl pathToWSDLFile
+ wsdl2java -osgi axis2 -wsdl pathToWSDLFile
</code>
</blockquote>
<p>Above, <em>pathToWSDLFile</em> should be replaced with the absolute or relative filesystem path to the location of the WSDL document
@@ -286,6 +290,7 @@
/wsdl<br/>
...<br/>
<em>build.xml</em><br/>
+ <em>.overwrite</em><br/>
</code>
</div>
</div>
@@ -316,6 +321,10 @@
<li><b>/wsdl</b> - the WSDL that was passed into the tool is consolidated into one file (if it was split among several files using "wsdl:import" or "xsd:import") and copied to this directory. See the <a href="../manual/tools/wsdl2java.html#faq_wsdl_modify">FAQ</a> for more information about why this transformation is made.</li><br/>
<li><b>/build.xml</b> - the <em>ant </em> build file script which has a default target that will compile everything
in <b>/src</b> package it into a directory in plugins.</li><br/>
+ <li><b>/.overwrite</b> - a list of files generated by wsdl2java that do not contain user code. Any file named in this
+ manifest will be overwritten by default if the wsdl2java tool is run targetting this directory and the file already exists. For more
+ information see the <a href="../manual/tools/wsdl2java.html#overwriting">reference documentation</a>.</li>
+
</ul>
<p>Before invoking <a href="http://ant.apache.org" class="external">Ant</a> there might be several actions you must take:
@@ -365,6 +374,7 @@
/lib<br/>
...<br/>
<em>build.xml</em><br/>
+ <em>.overwrite</em><br/>
</code>
</div>
</div>
@@ -377,6 +387,9 @@
so that the project is self-contained</li><br/>
<li><b>/build.xml</b> - the <em>ant </em> build file script which has a default target that will compile everything
in <b>/src</b> package it into a jar that can be used in other projects to connect to the endpoint.</li><br/>
+ <li><b>/.overwrite</b> - a list of files generated by wsdl2java that do not contain user code. Any file named in this
+ manifest will be overwritten by default if the wsdl2java tool is run targetting this directory and the file already exists. For more
+ information see the <a href="../manual/tools/wsdl2java.html#overwriting">reference documentation</a>.</li>
</ul>
<p>After the above steps are complete, you are ready to build the WAR file. Simply invoke:
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org