cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sea...@apache.org
Subject svn commit: r633524 - in /incubator/cxf/trunk/distribution/src/main/release/samples: java_first_pojo/src/demo/hw/client/Client.java js_browser_client_java_first/README.txt
Date Tue, 04 Mar 2008 15:58:20 GMT
Author: seanoc
Date: Tue Mar  4 07:58:19 2008
New Revision: 633524

URL: http://svn.apache.org/viewvc?rev=633524&view=rev
Log:
Minor updates:
Updated README.txt to indicate how to run Client.java
Updated client so outputs relevant user specific info

Modified:
    incubator/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
    incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/README.txt

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java?rev=633524&r1=633523&r2=633524&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/java_first_pojo/src/demo/hw/client/Client.java
Tue Mar  4 07:58:19 2008
@@ -39,7 +39,7 @@
         //factory.getServiceFactory().setDataBinding(new AegisDatabinding());
         HelloWorld client = (HelloWorld)factory.create();
         System.out.println("Invoke sayHi()....");
-        System.out.println(client.sayHi("user"));
+        System.out.println(client.sayHi(System.getProperty("user.name")));
         System.exit(0);
     }
 

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/README.txt
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/README.txt?rev=633524&r1=633523&r2=633524&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/README.txt
(original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/js_browser_client_java_first/README.txt
Tue Mar  4 07:58:19 2008
@@ -66,3 +66,16 @@
 
 A new command windows opens for the server process.  After running the
 client, terminate the server process by issuing Ctrl-C in its command window.
+
+Running the client in a browser
+-------------------------------
+
+Once the server is running, browse to:
+
+  http://HOSTNAME:9000/Beverages.html
+
+(Substitute your hostname for HOSTNAME.)
+
+On the web page you see, click on the 'invoke' button to invoke the
+very simple sayHi service, which takes no input and returns a single
+string.



Mime
View raw message