You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2008/12/05 13:33:33 UTC

svn commit: r723723 - in /servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse: GreeterImpl.java GreeterImplForClientProxy.java

Author: gertv
Date: Fri Dec  5 04:33:32 2008
New Revision: 723723

URL: http://svn.apache.org/viewvc?rev=723723&view=rev
Log:
Implement missing methods of the Greeter interface for testing

Modified:
    servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImpl.java
    servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImplForClientProxy.java

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImpl.java?rev=723723&r1=723722&r2=723723&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImpl.java (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImpl.java Fri Dec  5 04:33:32 2008
@@ -16,6 +16,7 @@
  */
 package org.apache.servicemix.cxfse;
 
+import java.util.concurrent.Future;
 
 import javax.jbi.JBIException;
 import javax.jbi.component.ComponentContext;
@@ -23,7 +24,18 @@
 import javax.jbi.messaging.NormalizedMessage;
 import javax.jws.WebService;
 import javax.xml.namespace.QName;
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
 
+import org.apache.hello_world_soap_http.BadRecordLitFault;
+import org.apache.hello_world_soap_http.Greeter;
+import org.apache.hello_world_soap_http.NoSuchCodeLitFault;
+import org.apache.hello_world_soap_http.types.GreetMeLaterResponse;
+import org.apache.hello_world_soap_http.types.GreetMeResponse;
+import org.apache.hello_world_soap_http.types.GreetMeSometimeResponse;
+import org.apache.hello_world_soap_http.types.SayHiResponse;
+import org.apache.hello_world_soap_http.types.TestDocLitFaultResponse;
+import org.apache.hello_world_soap_http.types.TestNillableResponse;
 import org.apache.servicemix.client.ServiceMixClient;
 import org.apache.servicemix.client.ServiceMixClientFacade;
 import org.apache.servicemix.jbi.jaxp.StringSource;
@@ -32,8 +44,7 @@
         portName = "SoapPort", 
         endpointInterface = "org.apache.hello_world_soap_http.Greeter", 
         targetNamespace = "http://apache.org/hello_world_soap_http")
-
-public class GreeterImpl {
+public class GreeterImpl implements Greeter {
 
     private ComponentContext context;
     public String greetMe(String me) {
@@ -73,5 +84,73 @@
         this.context = context;
     }
 
+    public Response<GreetMeResponse> greetMeAsync(String arg0) {
+        return null;
+    }
+
+    public Future<?> greetMeAsync(String arg0, AsyncHandler<GreetMeResponse> arg1) {
+        return null;
+    }
+
+    public String greetMeLater(long arg0) {
+        return null;
+    }
+
+    public Response<GreetMeLaterResponse> greetMeLaterAsync(long arg0) {
+        return null;
+    }
+
+    public Future<?> greetMeLaterAsync(long arg0, AsyncHandler<GreetMeLaterResponse> arg1) {
+        return null;
+    }
+
+    public void greetMeOneWay(String arg0) {        
+    }
+
+    public String greetMeSometime(String arg0) {
+        return null;
+    }
+
+    public Response<GreetMeSometimeResponse> greetMeSometimeAsync(String arg0) {
+        return null;
+    }
+
+    public Future<?> greetMeSometimeAsync(String arg0, AsyncHandler<GreetMeSometimeResponse> arg1) {
+        return null;
+    }
 
+    public String sayHi() {
+        return null;
+    }
+
+    public Response<SayHiResponse> sayHiAsync() {
+        return null;
+    }
+
+    public Future<?> sayHiAsync(AsyncHandler<SayHiResponse> arg0) {
+        return null;
+    }
+
+    public void testDocLitFault(String arg0) throws BadRecordLitFault, NoSuchCodeLitFault {
+    }
+
+    public Response<TestDocLitFaultResponse> testDocLitFaultAsync(String arg0) {
+        return null;
+    }
+
+    public Future<?> testDocLitFaultAsync(String arg0, AsyncHandler<TestDocLitFaultResponse> arg1) {
+        return null;
+    }
+
+    public String testNillable(String arg0, int arg1) {
+        return null;
+    }
+
+    public Response<TestNillableResponse> testNillableAsync(String arg0, int arg1) {
+        return null;
+    }
+
+    public Future<?> testNillableAsync(String arg0, int arg1, AsyncHandler<TestNillableResponse> arg2) {
+        return null;
+    }
 }

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImplForClientProxy.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImplForClientProxy.java?rev=723723&r1=723722&r2=723723&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImplForClientProxy.java (original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/serviceengines/servicemix-cxf-se/src/test/java/org/apache/servicemix/cxfse/GreeterImplForClientProxy.java Fri Dec  5 04:33:32 2008
@@ -16,20 +16,29 @@
  */
 package org.apache.servicemix.cxfse;
 
+import java.util.concurrent.Future;
 
 import javax.jbi.component.ComponentContext;
 import javax.jws.WebService;
+import javax.xml.ws.AsyncHandler;
+import javax.xml.ws.Response;
 
 import org.apache.cxf.calculator.CalculatorPortType;
-
-
+import org.apache.hello_world_soap_http.BadRecordLitFault;
+import org.apache.hello_world_soap_http.Greeter;
+import org.apache.hello_world_soap_http.NoSuchCodeLitFault;
+import org.apache.hello_world_soap_http.types.GreetMeLaterResponse;
+import org.apache.hello_world_soap_http.types.GreetMeResponse;
+import org.apache.hello_world_soap_http.types.GreetMeSometimeResponse;
+import org.apache.hello_world_soap_http.types.SayHiResponse;
+import org.apache.hello_world_soap_http.types.TestDocLitFaultResponse;
+import org.apache.hello_world_soap_http.types.TestNillableResponse;
 
 @WebService(serviceName = "SOAPService", 
         portName = "SoapPort", 
         endpointInterface = "org.apache.hello_world_soap_http.Greeter", 
         targetNamespace = "http://apache.org/hello_world_soap_http")
-
-public class GreeterImplForClientProxy {
+public class GreeterImplForClientProxy implements Greeter {
 
     private ComponentContext context;
     private CalculatorPortType calculator;
@@ -61,6 +70,73 @@
         return calculator;
     }
 
-    
+    public Response<GreetMeResponse> greetMeAsync(String arg0) {
+        return null;
+    }
+
+    public Future<?> greetMeAsync(String arg0, AsyncHandler<GreetMeResponse> arg1) {
+        return null;
+    }
+
+    public String greetMeLater(long arg0) {
+        return null;
+    }
+
+    public Response<GreetMeLaterResponse> greetMeLaterAsync(long arg0) {
+        return null;
+    }
+
+    public Future<?> greetMeLaterAsync(long arg0, AsyncHandler<GreetMeLaterResponse> arg1) {
+        return null;
+    }
+
+    public void greetMeOneWay(String arg0) {        
+    }
+
+    public String greetMeSometime(String arg0) {
+        return null;
+    }
+
+    public Response<GreetMeSometimeResponse> greetMeSometimeAsync(String arg0) {
+        return null;
+    }
 
+    public Future<?> greetMeSometimeAsync(String arg0, AsyncHandler<GreetMeSometimeResponse> arg1) {
+        return null;
+    }
+
+    public String sayHi() {
+        return null;
+    }
+
+    public Response<SayHiResponse> sayHiAsync() {
+        return null;
+    }
+
+    public Future<?> sayHiAsync(AsyncHandler<SayHiResponse> arg0) {
+        return null;
+    }
+
+    public void testDocLitFault(String arg0) throws BadRecordLitFault, NoSuchCodeLitFault {
+    }
+
+    public Response<TestDocLitFaultResponse> testDocLitFaultAsync(String arg0) {
+        return null;
+    }
+
+    public Future<?> testDocLitFaultAsync(String arg0, AsyncHandler<TestDocLitFaultResponse> arg1) {
+        return null;
+    }
+
+    public String testNillable(String arg0, int arg1) {
+        return null;
+    }
+
+    public Response<TestNillableResponse> testNillableAsync(String arg0, int arg1) {
+        return null;
+    }
+
+    public Future<?> testNillableAsync(String arg0, int arg1, AsyncHandler<TestNillableResponse> arg2) {
+        return null;
+    }
 }