axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r473797 - in /webservices/axis2/branches/java/1_1/modules/samples/quickstart: README.txt build.xml
Date Sat, 11 Nov 2006 21:04:47 GMT
Author: dims
Date: Sat Nov 11 13:04:46 2006
New Revision: 473797

URL: http://svn.apache.org/viewvc?view=rev&rev=473797
Log:
add a few details and remove the delete when we compile the service

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/quickstart/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/quickstart/build.xml

Modified: webservices/axis2/branches/java/1_1/modules/samples/quickstart/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/quickstart/README.txt?view=diff&rev=473797&r1=473796&r2=473797
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/quickstart/README.txt (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/quickstart/README.txt Sat Nov 11 13:04:46
2006
@@ -3,7 +3,8 @@
 
 Introduction
 ============
-
+In this sample, we are deploying a pojo after writing a services.xml and
+creating an aar. We also test the 2 methods using a browser.
 
 Pre-Requisites
 ==============
@@ -13,12 +14,21 @@
 Building the Service
 ====================
 
-Type "ant" from Axis2_HOME/samples/quickstart directory.
-
+Type "ant" from Axis2_HOME/samples/quickstart directory and then deploy
+the Axis2_HOME/samples/quickstart/build/StockQuoteService.aar
 
 Running the Client
 ==================
+- From your browser, If you point to the following URL:
+http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM
+
+You will get the following response:
+<ns:getPriceResponse xmlns:ns="http://pojo.service.quickstart.samples/xsd"><ns:return>42</ns:return></ns:getPriceResponse>
+
+- If you invoke the update method like so:
+http://localhost:8080/axis2/rest/StockQuoteService/update?symbol=IBM&price=100
 
+and then execute the first getPrice url. You can see that the price got updated.
 
 Help
 ====

Modified: webservices/axis2/branches/java/1_1/modules/samples/quickstart/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/quickstart/build.xml?view=diff&rev=473797&r1=473796&r2=473797
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/quickstart/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/quickstart/build.xml Sat Nov 11 13:04:46
2006
@@ -12,7 +12,6 @@
     </path>
 
     <target name="compile.service">
-        <delete dir="${build.dir}"/>
         <mkdir dir="${build.dir}"/>
         <mkdir dir="${build.dir}/classes"/>
 



---------------------------------------------------------------------
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