You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by gd...@apache.org on 2007/07/27 04:42:20 UTC

svn commit: r560072 - in /webservices/axis2/branches/java/1_3: modules/kernel/src/org/apache/axis2/description/AxisService.java modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java xdocs/maven-help.xml xdocs/overview.xml

Author: gdaniels
Date: Thu Jul 26 19:42:19 2007
New Revision: 560072

URL: http://svn.apache.org/viewvc?view=rev&rev=560072
Log:
Merging over changes from trunk.

Modified:
    webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/description/AxisService.java
    webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java
    webservices/axis2/branches/java/1_3/xdocs/maven-help.xml
    webservices/axis2/branches/java/1_3/xdocs/overview.xml

Modified: webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/description/AxisService.java?view=diff&rev=560072&r1=560071&r2=560072
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/description/AxisService.java Thu Jul 26 19:42:19 2007
@@ -86,6 +86,18 @@
  */
 public class AxisService extends AxisDescription {
 
+    //////////////////////////////////////////////////////////////////
+    // Standard Parameter names
+
+    /**
+     * If this param is true, and the service has exactly one AxisOperation,
+     * normal operation dispatch (via URI/soapAction/etc) will not be necessary,
+     * and we'll just default to funneling all messages to that op.  This is
+     * useful for passthrough/ESB/embedded applications.
+     */
+    public static final String SUPPORT_SINGLE_OP = "supportSingleOperation";
+    //////////////////////////////////////////////////////////////////
+
     public static final String IMPORT_TAG = "import";
     public static final String INCLUDE_TAG = "include";
     public static final String SCHEMA_LOCATION = "schemaLocation";

Modified: webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java?view=diff&rev=560072&r1=560071&r2=560072
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java (original)
+++ webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/engine/DispatchPhase.java Thu Jul 26 19:42:19 2007
@@ -31,7 +31,6 @@
 import org.apache.axis2.description.AxisOperation;
 import org.apache.axis2.description.AxisService;
 import org.apache.axis2.description.AxisServiceGroup;
-import org.apache.axis2.description.WSDL2Constants;
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.transport.RequestResponseTransport;
 import org.apache.axis2.transport.TransportListener;
@@ -68,7 +67,7 @@
         AxisOperation operation = msgContext.getAxisOperation();
         // If we're configured to do so, check the service for a single op...
         if (operation == null &&
-                JavaUtils.isTrue(service.getParameterValue("supportSingleOperation"))) {
+                JavaUtils.isTrue(service.getParameterValue(AxisService.SUPPORT_SINGLE_OP))) {
             Iterator ops = service.getOperations();
             // If there's exactly one, that's the one we want.  If there's more, forget it.
             if (ops.hasNext()) {

Modified: webservices/axis2/branches/java/1_3/xdocs/maven-help.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/xdocs/maven-help.xml?view=diff&rev=560072&r1=560071&r2=560072
==============================================================================
--- webservices/axis2/branches/java/1_3/xdocs/maven-help.xml (original)
+++ webservices/axis2/branches/java/1_3/xdocs/maven-help.xml Thu Jul 26 19:42:19 2007
@@ -31,9 +31,9 @@
 <body lang="en" xml:lang="en">
 <h1 align="center">Quick Guide to Maven for Axis 2.0</h1>
 <h2 align="left">Introduction</h2>
-<p align="left"><a href="http://maven.apache.org">Maven</a> is used
-as the build tool of Axis 2.0. This document will provide a quick
-guide on how to use Maven with your developments.</p>
+<p align="left"><a href="http://maven.apache.org">Maven 2</a> is used
+as the build environment for Axis2. This document will provide a quick
+guide on how to use Maven with our project.</p>
 <h2 align="left">Commands</h2>
 <table border="1" align="center">
 <tbody>
@@ -46,78 +46,37 @@
 </th>
 </tr>
 <tr>
-<td>
-<div align="left">maven</div>
-</td>
-<td>
-<div align="left">Downloads relevant jars if not available, and
-compiles and runs the tests in the system.</div>
-</td>
-</tr>
-<tr>
-<td>maven clean</td>
-<td>Cleans all the content built so far in the target folder. This
-will not clean the jar repository.</td>
-</tr>
-<tr>
-<td>
-<div align="left">maven test</div>
-</td>
-<td>
-<div align="left">Runs only the tests. Performs automatic
-compilation of the changed sources as well. This will not run SOAP
-interop tests</div>
-</td>
-</tr>
-<tr>
-<td>
-<div align="left">maven clean all-tests</div>
-</td>
-<td>
-<div align="left">Cleans up and runs all offline and online
-tests</div>
-</td>
-</tr>
-<tr>
-<td>
-<div align="left">maven itest</div>
-</td>
-<td>
-<div align="left">To run the online-mode tests for say the
-modules/integration, run "maven itest" from
-modules/integration</div>
-</td>
+<td>mvn clean</td>
+<td>Cleans all the content built so far in the target/ folder. This
+will not delete jars from your local repository.</td>
 </tr>
 <tr>
 <td>
-<div align="left">maven test itest</div>
+<div align="left">mvn test</div>
 </td>
 <td>
-<div align="left">To run all the tests for say the
-modules/integration, run "maven test itest" from
-modules/integration</div>
+<div align="left">Builds any changed artifacts, and then runs our basic test suite.</div>
 </td>
 </tr>
 <tr>
 <td>
-<div align="left">maven -g</div>
+<div align="left">mvn clean test</div>
 </td>
 <td>
-<div align="left">Lists down all the commands available with
-Maven.</div>
+<div align="left">Cleans up, rebuilds everything from scratch, and then runs the basic test suite.</div>
 </td>
 </tr>
 <tr>
 <td>
-<div align="left">maven multiproject</div>
+<div align="left">mvn site</div>
 </td>
 <td>
-<div align="left">Generates the site.</div>
+<div align="left">Generates the website in target/site/</div>
 </td>
 </tr>
 <tr>
 <td>
-<div align="left">maven idea:multiproject</div>
+<div align="left">mvn idea:idea</div>
 </td>
 <td>
 <div align="left">Generates IDEA .ipr, .iml and .iws project
@@ -126,7 +85,7 @@
 </tr>
 <tr>
 <td>
-<div align="left">maven -Dmaven.test.skip=true</div>
+<div align="left">mvn -Dtest=false</div>
 </td>
 <td>
 <div align="left"></div>
@@ -134,20 +93,5 @@
 </tr>
 </tbody>
 </table>
-<br />
-<h2 align="left">Maven FAQ</h2>
-<p><i>1. I have problems with Maven 1.1</i></p>
-<p style="text-indent: 10pt">It seems that Maven 1.1 doesn't come
-bundled with the required itest plug-in and artifact plug-in. Run
-the following to get it updated.<br /></p>
-<ol>
-<li>maven plugin:download -DgroupId=maven-itest-plugin
--DartifactId=maven-itest-plugin -Dversion=1.0
--Dmaven.repo.remote=http://www.openejb.org/maven,http://www.ibiblio.org/maven</li>
-<li>maven plugin:Download -DgroupId=maven
--DartifactId=maven-artifact-plugin -Dversion=1.6</li>
-</ol>
-<p align="left"></p>
-<p align="left"></p>
 </body>
 </html>

Modified: webservices/axis2/branches/java/1_3/xdocs/overview.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/xdocs/overview.xml?view=diff&rev=560072&r1=560071&r2=560072
==============================================================================
--- webservices/axis2/branches/java/1_3/xdocs/overview.xml (original)
+++ webservices/axis2/branches/java/1_3/xdocs/overview.xml Thu Jul 26 19:42:19 2007
@@ -34,10 +34,11 @@
 code. If this is the type of role you'd like to play, here are some
 steps (in addition to the ones above) to get you started:</p>
 <ul>
-<li><a href="guidelines.html">Read Guidelines</a></li>
-<li><a href="refLib.html">Review Reference Library</a></li>
+<li>Read our <a href="guidelines.html">developer guidelines</a> and <a
+href="release-process.html">release process</a></li>
+<li>Review the <a href="refLib.html">reference library</a></li>
 <li><a href=
-"http://svn.apache.org/viewcvs.cgi/webservices/axis/trunk/?root=Apache-SVN">
+"http://svn.apache.org/viewvc/webservices/axis2/">
 View the Source Code</a></li>
 <li><a href="svn.html">Access SVN Repository</a></li>
 </ul>



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