X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2FSOAP.java;h=946ccb784674e255284c8e8dae21f020d8925724;hb=a45a8fc2ca7e197f70a1e13ae22d2a49339722f8;hp=0cfd1d3e511b9976043e5de7453791da32376f5f;hpb=3591b88b94a6bb378af3d4abe6eb5233ce583104;p=org.ibex.core.git diff --git a/src/org/ibex/SOAP.java b/src/org/ibex/SOAP.java index 0cfd1d3..946ccb7 100644 --- a/src/org/ibex/SOAP.java +++ b/src/org/ibex/SOAP.java @@ -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(), this, action, nameSpace); } // Methods to Recieve and parse SOAP Responses //////////////////////////////////////////////////// @@ -270,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; }