axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r471669 - /webservices/axis2/branches/java/1_1/modules/samples/databinding/README.txt
Date Mon, 06 Nov 2006 08:49:00 GMT
Author: chinthaka
Date: Mon Nov  6 00:48:59 2006
New Revision: 471669

URL: http://svn.apache.org/viewvc?view=rev&rev=471669
Log:
Improving the README.
 - Added a section to instruct user explaining what to do to deploy the service
 - Stock price actually returned, running the sample, was not the one give in this README.
Fixed it.

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/databinding/README.txt

Modified: webservices/axis2/branches/java/1_1/modules/samples/databinding/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/databinding/README.txt?view=diff&rev=471669&r1=471668&r2=471669
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/databinding/README.txt (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/databinding/README.txt Mon Nov  6
00:48:59 2006
@@ -13,21 +13,38 @@
 Before Running The Sample
 =========================
  * Please create a directory named lib under the directory that contains this file.
- * Download latest stax-utils jar from https://stax-utils.dev.java.net/servlets/ProjectDocumentList?folderID=1106
and drop that into the new lib directory.
- * Download latest Castor jar from http://www.castor.org/download.html and drop that into
the new lib directory
+ * Download latest stax-utils jar from
+ https://stax-utils.dev.java.net/servlets/ProjectDocumentList?folderID=1106 and drop that
into the
+ new lib directory.
+ * Download latest Castor jar from http://www.castor.org/download.html and drop that into
the new
+ lib directory
 
 Running The Sample
 ==================
 
-Running the run.client runs the client/src/samples/databinding/StockClient.java class. You
may use the command scripts to do so. You need to supply 2 parameters to the command- url
and symbol.
+ *Deploying the Service*
 
- * ant run.client -Durl=http://localhost:8080/axis2/services/StockQuoteService -Dsymbol=IBM
-   Succeeds with a Price of 234235.0. You will see "Price = 234235.0"  
+    You need to create the stock service Web service and deploy it. Typing ant in the command
prompt,
+    will build the service against StockQuoteService.wsdl listed inside this (samples/databinding)
+    folder and put it under repository/services of this release folder.
 
-When you call ant run.client with parameters, before running client/src/samples/databinding/StockClient.java
class, it does the following as well:
- * Generate the stubs (for the client) from the WSDL
- * Compile the client classes
- * Create a Jar of the client classes and copy it to build/client/StockService-test-client.jar
+    You need to then startup the server to deploy the service. Goto bin folder and execute
either
+    axis2server.bat or axis2server.sh, depending on your platform.
+
+ *Running the Client*
+
+   Running the run.client runs the client/src/samples/databinding/StockClient.java class.
You may use
+   the command scripts to do so. You need to supply 2 parameters to the command- url and
symbol.
+
+     * ant run.client -Durl=http://localhost:8080/axis2/services/StockQuoteService -Dsymbol=IBM
+     Succeeds with a Price of 99.0. You will see "Price = 99.0"
+
+   When you call ant run.client with parameters, before running
+   client/src/samples/databinding/StockClient.java class, it does the following as well:
+
+      * Generate the stubs (for the client) from the WSDL
+      * Compile the client classes
+      * Create a Jar of the client classes and copy it to build/client/StockService-test-client.jar
 
 Advanced Guide
 ==============



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


Mime
View raw message