/** 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 ////////////////////////////////////////////////////
}
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;
}