You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ch...@apache.org on 2007/03/30 12:54:59 UTC

svn commit: r524042 - in /webservices/axis2/branches/java/1_2: modules/samples/quickstart/README.txt modules/samples/userguide/src/userguide/clients/RESTClient.java xdocs/1_1/quickstartguide.html

Author: chatra
Date: Fri Mar 30 03:54:58 2007
New Revision: 524042

URL: http://svn.apache.org/viewvc?view=rev&rev=524042
Log:
review and committing JIRA AXIS2-2444

Modified:
    webservices/axis2/branches/java/1_2/modules/samples/quickstart/README.txt
    webservices/axis2/branches/java/1_2/modules/samples/userguide/src/userguide/clients/RESTClient.java
    webservices/axis2/branches/java/1_2/xdocs/1_1/quickstartguide.html

Modified: webservices/axis2/branches/java/1_2/modules/samples/quickstart/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/samples/quickstart/README.txt?view=diff&rev=524042&r1=524041&r2=524042
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/samples/quickstart/README.txt (original)
+++ webservices/axis2/branches/java/1_2/modules/samples/quickstart/README.txt Fri Mar 30 03:54:58 2007
@@ -31,13 +31,13 @@
 Running the Client
 ==================
 - From your browser, If you point to the following URL:
-http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM
+http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM
 
 You will get the following response:
 <ns:getPriceResponse><ns:return>42.0</ns:return></ns:getPriceResponse>
 
 - If you invoke the update method like so:
-http://localhost:8080/axis2/rest/StockQuoteService/update?symbol=IBM&price=100
+http://localhost:8080/axis2/services/StockQuoteService/update?symbol=IBM&price=100
 
 And then execute the first getPrice url. You can see that the price got updated.
 

Modified: webservices/axis2/branches/java/1_2/modules/samples/userguide/src/userguide/clients/RESTClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/samples/userguide/src/userguide/clients/RESTClient.java?view=diff&rev=524042&r1=524041&r2=524042
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/samples/userguide/src/userguide/clients/RESTClient.java (original)
+++ webservices/axis2/branches/java/1_2/modules/samples/userguide/src/userguide/clients/RESTClient.java Fri Mar 30 03:54:58 2007
@@ -37,7 +37,7 @@
  */
 public class RESTClient {
 
-    private static String toEpr = "http://localhost:8080/axis2/rest/MyService";
+    private static String toEpr = "http://localhost:8080/axis2/services/MyService";
 
     public static void main(String[] args) throws AxisFault {
 

Modified: webservices/axis2/branches/java/1_2/xdocs/1_1/quickstartguide.html
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/xdocs/1_1/quickstartguide.html?view=diff&rev=524042&r1=524041&r2=524042
==============================================================================
--- webservices/axis2/branches/java/1_2/xdocs/1_1/quickstartguide.html (original)
+++ webservices/axis2/branches/java/1_2/xdocs/1_1/quickstartguide.html Fri Mar 30 03:54:58 2007
@@ -294,13 +294,13 @@
 
 <p>Once the URLs are working, quickly test the service. Try pointing your
 browser to the following URL:</p>
-<pre>http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM</pre>
+<pre>http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM</pre>
 
 <p>You will get the following response:</p>
 <pre>&lt;ns:getPriceResponse xmlns:ns="http://pojo.service.quickstart.samples/xsd"&gt;&lt;ns:return&gt;42&lt;/ns:return&gt;&lt;/ns:getPriceResponse&gt;</pre>
 
 <p>If you invoke the update method as,</p>
-<pre>http://localhost:8080/axis2/rest/StockQuoteService/update?symbol=IBM&amp;price=100</pre>
+<pre>http://localhost:8080/axis2/services/StockQuoteService/update?symbol=IBM&amp;price=100</pre>
 and then execute the first getPrice URL, you will see that the price has got
 updated. <a name="axiom"></a>
 



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