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 sa...@apache.org on 2006/11/01 07:57:17 UTC

svn commit: r469796 - in /webservices/axis2/branches/java/1_1/modules/samples/pojo: README.txt build.xml src/sample/addressbook/adbclient/AddressBookADBClient.java

Author: sanka
Date: Tue Oct 31 22:57:16 2006
New Revision: 469796

URL: http://svn.apache.org/viewvc?view=rev&rev=469796
Log:
Fixed the compilation problem in the distribution.


Modified:
    webservices/axis2/branches/java/1_1/modules/samples/pojo/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/pojo/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java

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=469796&r1=469795&r2=469796
==============================================================================
--- 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 22:57:16 2006
@@ -11,8 +11,12 @@
 
 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/AdressBookService?wsdl 
+
+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.
 
@@ -23,7 +27,6 @@
 
 To generate the stub, compile and run, type
 $ant adb.client -Dwsdl=http://<yourhost>:<yourport>/axis2/services/AdressBookService?wsdl
--Duri=http://<yourhost>:<yourport>/axis2/services/AddressBookService
 
 
 

Modified: webservices/axis2/branches/java/1_1/modules/samples/pojo/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/pojo/build.xml?view=diff&rev=469796&r1=469795&r2=469796
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojo/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojo/build.xml Tue Oct 31 22:57:16 2006
@@ -1,5 +1,5 @@
 
-<project basedir="." default="build">
+<project basedir=".">
 	
 	<property name="dest.dir" value="build" />
 	
@@ -112,9 +112,7 @@
 		
 		<antcall target="adb.client.jar" />
 		
-		<antcall target="adb.client.run">
-			<param name="uri" value="${uri}"/>
-		</antcall>
+		<antcall target="adb.client.run" />
 		
 	</target>
 	
@@ -144,7 +142,6 @@
 	<target name="adb.client.run">
 		<java classname="sample.addressbook.adbclient.AddressBookADBClient">
 			<classpath refid="client.class.path" />
-			<arg value="${uri}" />
 		</java>
 	</target>
 

Modified: webservices/axis2/branches/java/1_1/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java?view=diff&rev=469796&r1=469795&r2=469796
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java Tue Oct 31 22:57:16 2006
@@ -47,12 +47,12 @@
             entry.setState("Sesame State");
             entry.setPostalCode("11111");
             
-            addEntry.setEntry(entry);
+            addEntry.setParam0(entry);
             stub.addEntry(addEntry);
             
             FindEntry findEntry = new FindEntry();
             
-            findEntry.setName("Abby Cadabby");
+            findEntry.setParam0("Abby Cadabby");
             
             FindEntryResponse response = stub.findEntry(findEntry);
             Entry responseEntry = response.get_return();



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