cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r465517 - /incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
Date Thu, 19 Oct 2006 07:26:58 GMT
Author: ffang
Date: Thu Oct 19 00:26:55 2006
New Revision: 465517

URL: http://svn.apache.org/viewvc?view=rev&rev=465517
Log:
enable pingMe invokation for hello_world demo since Fault handle works

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java?view=diff&rev=465517&r1=465516&r2=465517
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/hello_world/src/demo/hw/client/Client.java
Thu Oct 19 00:26:55 2006
@@ -24,7 +24,7 @@
 import javax.xml.namespace.QName;
 import javax.xml.ws.ProtocolException;
 import org.apache.hello_world_soap_http.Greeter;
-//import org.apache.hello_world_soap_http.PingMeFault;
+import org.apache.hello_world_soap_http.PingMeFault;
 import org.apache.hello_world_soap_http.SOAPService;
 
 public final class Client {
@@ -80,12 +80,12 @@
         System.out.println("No response from server as method is OneWay");
         System.out.println();
 
-        /*try {
+        try {
             System.out.println("Invoking pingMe, expecting exception...");
             port.pingMe();
         } catch (PingMeFault ex) {
             System.out.println("Expected exception: PingMeFault has occurred: " + ex.getMessage());
-        }*/          
+        }
         System.exit(0); 
     }
 



Mime
View raw message