You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ba...@apache.org on 2006/12/06 17:45:02 UTC

svn commit: r483143 - in /webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample: ParallelAsyncTests.java parallelasync/server/AsyncPort.java

Author: barrettj
Date: Wed Dec  6 08:45:01 2006
New Revision: 483143

URL: http://svn.apache.org/viewvc?view=rev&rev=483143
Log:
AXIS2-1832
Contributed by Mike Rheinheimer; enables ParallelAsyncTest

Modified:
    webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java
    webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/parallelasync/server/AsyncPort.java

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java?view=diff&rev=483143&r1=483142&r2=483143
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/ParallelAsyncTests.java Wed Dec  6 08:45:01 2006
@@ -41,19 +41,13 @@
         System.out.println("==================== " + getName());
     }
     
-    // TODO delete this test once the next is running.  This test prevents a
-    // failure because JUNIT doesn't like when a test suite has no tests
-    public void testPREVENT_FAILURE() throws Exception {
-        
-    }
-    
     /**
      * @testStrategy Test that the service is up and running before running any
      *               other tests
      * @wsdl async.wsdl + async.xml
      * @target AsyncPortImpl
      */
-    public void _intestService_isAlive() throws Exception {
+    public void testService_isAlive() throws Exception {
         final String MESSAGE = "testServiceAlive";
 
         AsyncPort port = getPort(null);

Modified: webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/parallelasync/server/AsyncPort.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/parallelasync/server/AsyncPort.java?view=diff&rev=483143&r1=483142&r2=483143
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/parallelasync/server/AsyncPort.java (original)
+++ webservices/axis2/trunk/java/modules/jaxws/test/org/apache/axis2/jaxws/sample/parallelasync/server/AsyncPort.java Wed Dec  6 08:45:01 2006
@@ -279,5 +279,19 @@
     public String anotherAsync(
         @WebParam(name = "request", targetNamespace = "")
         String request);
+    
+    /**
+     * 
+     * @param request
+     * @return
+     *     returns java.lang.String
+     */
+    @WebMethod(action = "http://org/test/parallelasync/customAsync")
+    @WebResult(name = "response", targetNamespace = "")
+    @RequestWrapper(localName = "customAsync", targetNamespace = "http://org/test/parallelasync", className = "org.test.parallelasync.CustomAsync")
+    @ResponseWrapper(localName = "customAsyncResponse", targetNamespace = "http://org/test/parallelasync", className = "org.test.parallelasync.CustomAsyncResponse")
+    public String customAsync(
+        @WebParam(name = "request", targetNamespace = "")
+        String request);
 
 }



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