axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r469439 - /webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt
Date Tue, 31 Oct 2006 10:32:36 GMT
Author: sanka
Date: Tue Oct 31 02:32:35 2006
New Revision: 469439

URL: http://svn.apache.org/viewvc?view=rev&rev=469439
Log:
Updating the README.txt for this sample


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=469439&r1=469438&r2=469439
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt Tue Oct 31 02:32:35
2006
@@ -1,7 +1,7 @@
 
 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 set the AXIS2_HOME environment variable and you
must have ant-1.6.x installed in your system. 
+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>
@@ -9,14 +9,21 @@
 To build the sample service, type:
 $ant 
 
-This should build a AdressBookService.aar that can be deployed as a Axis2 web service.
-
-To deploy the  AdressBookService.aar, copy it to  <AXIS2_HOME>/repository/services
directory and restart the server.
+This will build the AddressBookService.aar in the build directory and copy it to the <AXIS2_HOME>/repository/services
directory.
 
 The WSDL for this service should be viewable at:
 http://<yourhost>:<yourport>/axis2/services/AdressBookService?wsdl 
 
-You can run the address_book_client/AddressBookClient.java that uses RPCServiceClient to
invoke  methods of this web service just like method invocations of Java Objects.
+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/AdressBookService?wsdl
+
 
 
 



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