cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r441395 - in /incubator/cxf/trunk: rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java
Date Fri, 08 Sep 2006 06:37:07 GMT
Author: ffang
Date: Thu Sep  7 23:37:07 2006
New Revision: 441395

URL: http://svn.apache.org/viewvc?view=rev&rev=441395
Log:
[JIRA CXF-56] get invoke oneway working

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java?view=diff&rev=441395&r1=441394&r2=441395
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/support/JaxWsServiceConfiguration.java
Thu Sep  7 23:37:07 2006
@@ -27,6 +27,7 @@
 import javax.jws.WebMethod;
 import javax.jws.WebService;
 import javax.xml.namespace.QName;
+import javax.xml.ws.RequestWrapper;
 import javax.xml.ws.ResponseWrapper;
 
 import org.apache.cxf.common.classloader.ClassLoaderUtils;
@@ -188,7 +189,7 @@
     public Class getRequestWrapper(Method selected) {
         Method m = getDeclaredMethod(selected);
         
-        ResponseWrapper rw = m.getAnnotation(ResponseWrapper.class);
+        RequestWrapper rw = m.getAnnotation(RequestWrapper.class);
         if (rw == null) {
             return null;
         }

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java?view=diff&rev=441395&r1=441394&r2=441395
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/jaxws/ClientServerTest.java
Thu Sep  7 23:37:07 2006
@@ -91,9 +91,7 @@
                 assertTrue("server did not launch correctly", launchServer(Server.class));
             }
         };
-                
-        
-        
+         
     }
     
     public void testBasicConnection() throws Exception {
@@ -131,7 +129,7 @@
         }
     }
     
-    public void xtestBasicConnection() throws Exception {
+    public void testBasicConnectionAndOneway() throws Exception {
         URL wsdl = getClass().getResource("/wsdl/hello_world.wsdl");
         assertNotNull(wsdl);
         
@@ -143,7 +141,7 @@
         String response1 = new String("Hello Milestone-");
         String response2 = new String("Bonjour");
         try {       
-            for (int idx = 0; idx < 5; idx++) {
+            for (int idx = 0; idx < 1; idx++) {
                 String greeting = greeter.greetMe("Milestone-" + idx);
                 assertNotNull("no response received from service", greeting);
                 String exResponse = response1 + idx;



Mime
View raw message