axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r554150 - /webservices/axis2/trunk/java/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java
Date Sat, 07 Jul 2007 07:14:05 GMT
Author: deepal
Date: Sat Jul  7 00:14:04 2007
New Revision: 554150

URL: http://svn.apache.org/viewvc?view=rev&rev=554150
Log:
fixing compile error

Modified:
    webservices/axis2/trunk/java/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java

Modified: webservices/axis2/trunk/java/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java?view=diff&rev=554150&r1=554149&r2=554150
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java
(original)
+++ webservices/axis2/trunk/java/modules/samples/pojo/src/sample/addressbook/adbclient/AddressBookADBClient.java
Sat Jul  7 00:14:04 2007
@@ -18,11 +18,7 @@
  */
 package sample.addressbook.adbclient;
 
-import sample.addressbook.stub.AddressBookServiceAddressBookServiceSOAP11Port_httpStub;
-import sample.addressbook.stub.AddressBookServiceAddressBookServiceSOAP11Port_httpStub.AddEntry;
-import sample.addressbook.stub.AddressBookServiceAddressBookServiceSOAP11Port_httpStub.Entry;
-import sample.addressbook.stub.AddressBookServiceAddressBookServiceSOAP11Port_httpStub.FindEntry;
-import sample.addressbook.stub.AddressBookServiceAddressBookServiceSOAP11Port_httpStub.FindEntryResponse;
+import sample.addressbook.stub.AddressBookServiceStub;
 
 
 public class AddressBookADBClient {
@@ -32,17 +28,17 @@
     public static void main(String[] args) {
 
         try {
-            AddressBookServiceAddressBookServiceSOAP11Port_httpStub stub;
+            AddressBookServiceStub stub;
 
             if (args != null && args.length != 0) {
-                stub = new AddressBookServiceAddressBookServiceSOAP11Port_httpStub(args[0]);
+                stub = new AddressBookServiceStub(args[0]);
                 
             } else {
-                stub = new AddressBookServiceAddressBookServiceSOAP11Port_httpStub(URL);
+                stub = new AddressBookServiceStub(URL);
             }
             
-            AddEntry addEntry = new AddEntry();
-            Entry entry = new Entry();
+            AddressBookServiceStub.AddEntry addEntry = new AddressBookServiceStub.AddEntry();
+            AddressBookServiceStub.Entry entry = new AddressBookServiceStub.Entry();
             
             entry.setName("Abby Cadabby");
             entry.setStreet("Sesame Street");
@@ -53,12 +49,12 @@
             addEntry.setParam0(entry);
             stub.addEntry(addEntry);
             
-            FindEntry findEntry = new FindEntry();
+            AddressBookServiceStub.FindEntry findEntry = new AddressBookServiceStub.FindEntry();
             
             findEntry.setParam0("Abby Cadabby");
             
-            FindEntryResponse response = stub.findEntry(findEntry);
-            Entry responseEntry = response.get_return();
+            AddressBookServiceStub.FindEntryResponse response = stub.findEntry(findEntry);
+            AddressBookServiceStub.Entry responseEntry = response.get_return();
             
             System.out.println("Name   :" + responseEntry.getName());
             System.out.println("Street :" + responseEntry.getStreet());



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