axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cha...@apache.org
Subject svn commit: r474284 - /webservices/axis2/branches/java/1_1/modules/samples/userguide/README.txt
Date Mon, 13 Nov 2006 12:41:25 GMT
Author: chatra
Date: Mon Nov 13 04:41:24 2006
New Revision: 474284

URL: http://svn.apache.org/viewvc?view=rev&rev=474284
Log:
completed review

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

Modified: webservices/axis2/branches/java/1_1/modules/samples/userguide/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/userguide/README.txt?view=diff&rev=474284&r1=474283&r2=474284
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/userguide/README.txt (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/userguide/README.txt Mon Nov 13 04:41:24
2006
@@ -11,6 +11,32 @@
 Introduction
 ============
 
+The following sample clients are located at 
+Axis2_home/samples/userguide/samples/userguide/src/userguide/clients directory. 
+
+EchoBlockingClient.java -- Demonstrates the request-response, blocking client which 
+is written using Axis2's primary APIs.
+
+EchoBlockingDualClient.java -- Demonstrates the request-response, blocking client which 
+uses two transport connections and written using Axis2's primary APIs.
+
+EchoNonBlockingClient.java -- Demonstrates the request-response, non-blocking invocation

+which is written using Axis2's primary APIs.
+
+EchoNonBlockingDualClient.java -- Demonstrates the request-response, non-blocking invocation

+using two transport connections and is written using Axis2's primary APIs.
+
+MailClient.java -- Represents a client for invoking 
+
+PingClient.java -- Represents a simple one-way client which is written using Axis2's primary
APIs.
+
+RESTClient.java -- Represents a client for invoking a REST Web service
+
+TCPClient.java -- Demonstrates a client for invoking a Web service using TCP
+
+example1, example2 and example3 directories inside Axis2_home/samples/userguide/src/userguide

+contain the Web services which are invoked by the above clients.
+
 
 Pre-Requisites
 ==============
@@ -20,13 +46,35 @@
 Building the Service
 ====================
 
-Type "ant" from Axis2_HOME/samples/userguide directory.
+* Type "ant generate.service" or just "ant" from Axis2_HOME/samples/userguide
+* Then go to Axis2_HOME/bin directory and run either axis2server.bat or axis2server.sh depending
on your platform.
+
+Alternatively you can copy the the generated service archives in to a servlet container.
 
+If you go to http://localhost:8080/axis2/, you should see MyService, MyServiceWithModule
are deployed. 
 
-Running the Client
-==================
 
+Running the Clients
+===================
+
+Type the following ant commands from Axis2_HOME/samples/userguide to run the clients one
by one.
+
+ * "ant run.client.blocking"
+   This invokes MyService through a request-response, blocking client.   
+ * "ant run.client.blockingdual"
+   This invokes MyService through a request-response, blocking client via dual transport
channels.   
+ * "ant run.client.nonblocking"
+   This invokes MyService through a request-response, non-blocking client.  
+ * "ant run.client.nonblockingdual"
+   This invokes MyService through a request-response, non-blocking client via dual transport
channels.   
+ * "ant run.client.ping"
+   This invokes MyService through a one-way client
+
+ 
+You can find more information on the above clients in Axis2 users guide, RESTFul Web services
support, 
+TCP Transport documents found in the Documents Distribution's xdocs directory. Also, you
may find it 
+useful to try out the above services and clients while going through these documents.
 
 Help
 ====
-Please contact axis-user list (axis-user@ws.apache.org) if you have any trouble running the
sample.
\ No newline at end of file
+Please contact axis-user list (axis-user@ws.apache.org) if you have any trouble running the
sample.



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