improvements to Doc.java, corresponding fixes to the reference
[org.ibex.core.git] / src / org / ibex / SOAP.java
index 70e0a63..946ccb7 100644 (file)
@@ -28,7 +28,7 @@ class SOAP extends XMLRPC {
 
     /** When you get a property from an SOAP, it just returns another SOAP with the property name tacked onto methodname. */
     public Object get(Object name) {
-        return new SOAP(url, (method.equals("") ? "" : method + ".") + name.toString(), http, action, nameSpace); }
+        return new SOAP(url, (method.equals("") ? "" : method + ".") + name.toString(), this, action, nameSpace); }
 
 
     // Methods to Recieve and parse SOAP Responses ////////////////////////////////////////////////////
@@ -269,10 +269,12 @@ class SOAP extends XMLRPC {
     }
 
     SOAP(String url, String methodname, String action, String nameSpace) {
-        this(url, methodname, new HTTP(url), action, nameSpace);
+        super(url, methodname);
+        this.action = action;
+        this.nameSpace = nameSpace;
     }
-    SOAP(String url, String methodname, HTTP http, String action, String nameSpace) {
-        super(url, methodname, http);
+    SOAP(String url, String methodname, SOAP httpSource, String action, String nameSpace) {
+        super(url, methodname, httpSource);
         this.action = action;
         this.nameSpace = nameSpace;
     }