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 de...@apache.org on 2005/08/15 14:07:41 UTC
svn commit: r232800 - /webservices/axis/trunk/java/xdocs/rest-ws.html
Author: deepal
Date: Mon Aug 15 05:07:28 2005
New Revision: 232800
URL: http://svn.apache.org/viewcvs?rev=232800&view=rev
Log:
small modification
Modified:
webservices/axis/trunk/java/xdocs/rest-ws.html
Modified: webservices/axis/trunk/java/xdocs/rest-ws.html
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/xdocs/rest-ws.html?rev=232800&r1=232799&r2=232800&view=diff
==============================================================================
--- webservices/axis/trunk/java/xdocs/rest-ws.html (original)
+++ webservices/axis/trunk/java/xdocs/rest-ws.html Mon Aug 15 05:07:28 2005
@@ -26,7 +26,7 @@
from the client API or by deployment descriptor of the client.</p>
<ol>
<li> By adding an entry in the client.xml file similar to that of the axis.xml.</li>
-<li>Through client API e.g. <source><pre>call.setDoREST(true);</pre></source>;</li>
+<li>Through client API e.g. <source><pre>call.setDoREST(true);</pre></source></li>
</ol>
<h3>Sample REST - HTTP POST Client</h3>
@@ -35,8 +35,9 @@
And the class source will be as follows
<source>
<pre>
-public class MyServiceClient {
private static String toEpr = "http://localhost:9080/axis2/services/MyService/echo";
-
+public class MyServiceClient {
+ private static String toEpr = "http://localhost:9080/axis2/services/MyService/echo";
+
public static void main(String[] args) throws AxisFault {
OMElement payload = ...
Call call = new Call();