You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2007/04/25 12:32:12 UTC

svn commit: r532299 - in /webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@: mail-transport.html rest-ws.html

Author: chatra
Date: Wed Apr 25 03:32:08 2007
New Revision: 532299

URL: http://svn.apache.org/viewvc?view=rev&rev=532299
Log:
included additional information on Mailclient.java and RESTClient.java with refernce to https://issues.apache.org/jira/browse/AXIS2-1442

Modified:
    webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/mail-transport.html
    webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/rest-ws.html

Modified: webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/mail-transport.html
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/xdocs/%40axis2_version_dir%40/mail-transport.html?view=diff&rev=532299&r1=532298&r2=532299
==============================================================================
--- webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/mail-transport.html (original)
+++ webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/mail-transport.html Wed Apr 25 03:32:08 2007
@@ -16,7 +16,7 @@
 href="mailto:axis-dev@ws.apache.org?subject=[Axis2]">axis-dev@ws.apache.org</a></i>.
 (Subscription details are available on the <a
 href="http://ws.apache.org/axis2/mail-lists.html">Axis2 site</a>.) Kindly
-prefix subject with [Axis2]. </p>
+prefix subject with [Axis2].</p>
 
 <h2>Content</h2>
 <ul>
@@ -207,6 +207,11 @@
         serverConfigContext.getAxisConfiguration().addService(service);</pre>
 </source>
 <p>Note that a separate ConfigurationContext needs to be created and used.</p>
+
+<h2>Resources</h2>
+
+<p>For more information on Mail client invocation, see
+AXIS2_HOME\samples\userguide\src\userguide\clients\MailClient.java</p>
 <!--a name="mailet"></a>
 
 <h3>3. Calling Axis2 Through a Mailet</h3-->

Modified: webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/rest-ws.html
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/xdocs/%40axis2_version_dir%40/rest-ws.html?view=diff&rev=532299&r1=532298&r2=532299
==============================================================================
--- webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/rest-ws.html (original)
+++ webservices/axis2/branches/java/1_2/xdocs/@axis2_version_dir@/rest-ws.html Wed Apr 25 03:32:08 2007
@@ -70,12 +70,14 @@
 
 <h3>Sample REST - HTTP POST Client</h3>
 
-<p>There is an example named, userguide.clients.RESTClient.java which
-demonstrates the usage of the above. It uses the "echo" operation of the</p>
-<pre>userguide.example1.MyService </pre>
+<p>There is an example named, userguide.clients.RESTClient.java found in
+AXIS2_HOME/samples/userguide/src/userguide/clients which demonstrates the
+usage of the above. It uses the "echo" operation of the
+<code>userguide.example1.MyService </code>of the
+AXIS2_HOME/samples/userguide/src/userguide/example1. </p>
 
-<p>of the samples.The class source will be as follows:</p>
-<source><pre>public class RESTClient {
+<p>The class source will be as follows:<source></p>
+<pre>public class RESTClient {
 
     private static String toEpr = "http://localhost:8080/axis2/services/MyService";
     
@@ -125,8 +127,7 @@
 <source><pre>http://127.0.0.1:8080/axis2/rest/Version/getVersion</pre>
 </source>
 <p>The result can be shown in the browser as follows:</p>
-<img src="images/userguide/http-get-ws.jpg"><br clear="all">
-
+<img src="/images/userguide/http-get-ws.jpg">
 
 <p>For example, the following request,</p>
 <source><pre>http://127.0.0.1:8080/axis2/rest/Version/getVersion</pre>



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