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 2006/11/07 06:06:41 UTC

svn commit: r471984 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt

Author: chatra
Date: Mon Nov  6 21:06:40 2006
New Revision: 471984

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

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

Modified: webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt?view=diff&rev=471984&r1=471983&r2=471984
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt Mon Nov  6 21:06:40 2006
@@ -1,38 +1,54 @@
-
-This is an example POJO web service. It shows how to expose the methods of a Java class as a web
-service using Aixs2.
-
-To build the sample service you must have ant-1.6.x installed in your system. 
-
-To set AXIS2_HOME in Unix/Linux type:
-$export AXIS2_HOME=<path to axis2 distribution>
-
-To build the sample service, type:
-$ant 
-
-This will build the AddressBookService.aar in the build directory and copy it to the
-<AXIS2_HOME>/repository/services directory.
-
-You can start the Axis2 server by running either axis2server.bat (on Windows) or axis2server.sh
-(on Linux)that are located in <AXIS2_HOME>/bin directory.
-
-The WSDL for this service should be viewable at:
-
-http://<yourhost>:<yourport>/axis2/services/AddressBookService?wsdl 
-(e.g. http://localhost:8080/axis2/services/AddressBookService?wsdl)
-
-src/sample/addressbook/rpcclient/AddressBookRPCClient.java is a Client that uses RPCServiceClient
-to invoke the methods of this web services just like the method invocations of a Java object.
-
-To compile and run, type
-$ant rpc.client
-
-src/sample/addressbook/adbclient/AddressBookADBClient is Client that uses a generated stub with ADB
-to invoke the methods of this web service.
-
-To generate the stub, compile and run, type
-$ant adb.client -Dwsdl=http://<yourhost>:<yourport>/axis2/services/AddressBookService?wsdl
-
-
-
-
+Sample: POJO (Plain Old Java Object)
+====================================
+
+Introduction
+============
+
+This is an example POJO web service. It shows how to expose the methods of a Java class as a Web
+service using Aixs2.
+
+
+Prerequisites  
+==============
+
+To build the sample service you must have ant-1.6.x installed in your system. 
+
+To set AXIS2_HOME in Unix/Linux type:
+$export AXIS2_HOME=<path to axis2 distribution>
+
+Build the Sample
+================
+
+To build the sample service, type:
+$ant 
+
+This will build the AddressBookService.aar in the build directory and copy it to the
+<AXIS2_HOME>/repository/services directory.
+
+You can start the Axis2 server by running either axis2server.bat (on Windows) or axis2server.sh
+(on Linux)that are located in <AXIS2_HOME>/bin directory.
+
+The WSDL for this service should be viewable at:
+
+http://<yourhost>:<yourport>/axis2/services/AddressBookService?wsdl 
+(e.g. http://localhost:8080/axis2/services/AddressBookService?wsdl)
+
+src/sample/addressbook/rpcclient/AddressBookRPCClient.java is a Client that uses RPCServiceClient
+to invoke the methods of this web services just like the method invocations of a Java object.
+
+
+Run the Sample
+==============
+
+To compile and run, type
+$ant rpc.client
+
+src/sample/addressbook/adbclient/AddressBookADBClient is Client that uses a generated stub with ADB
+to invoke the methods of this web service.
+
+To generate the stub, compile and run, type
+$ant adb.client -Dwsdl=http://<yourhost>:<yourport>/axis2/services/AddressBookService?wsdl
+
+
+
+



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