tupshins fix for SOAP
authoradam <adam@megacz.com>
Sun, 8 Feb 2004 09:38:18 +0000 (09:38 +0000)
committeradam <adam@megacz.com>
Sun, 8 Feb 2004 09:38:18 +0000 (09:38 +0000)
darcs-hash:20040208093818-5007d-7a8e075ffce17ecdeed7f5b9c5d3dcb1f69d85ad.gz

src/org/ibex/SOAP.java

index 0cfd1d3..70e0a63 100644 (file)
@@ -27,9 +27,8 @@ class SOAP extends XMLRPC {
     String nameSpace = null;
 
     /** When you get a property from an SOAP, it just returns another SOAP with the property name tacked onto methodname. */
-    public Object get(String name) {
-        return new SOAP(url.toString(), (method.equals("") ? "" : method + ".") + name, http, action, nameSpace);
-    }
+    public Object get(Object name) {
+        return new SOAP(url, (method.equals("") ? "" : method + ".") + name.toString(), http, action, nameSpace); }
 
 
     // Methods to Recieve and parse SOAP Responses ////////////////////////////////////////////////////