// Copyright 2004 Adam Megacz, see the COPYING file for licensing [GPL]
-package org.ibex;
+package org.ibex.net;
import java.io.*;
import java.util.*;
import org.ibex.js.*;
import org.ibex.util.*;
-import org.bouncycastle.util.encoders.Base64;
+import org.ibex.crypto.*;
/**
* A partial RPC-style SOAP 1.1 client. Implemented from the SOAP 1.1
* <li> WSDL support
* </ul>
*/
-class SOAP extends XMLRPC {
+public class SOAP extends XMLRPC {
/** the desired content of the SOAPAction header */
String action = null;
if (name.equals("SOAP-ENV:Fault")) fault = true;
// add a generic struct; we'll change this if our type is different
- objects.addElement(new JS());
+ objects.addElement(new JS.O());
for(int i=0; i<keys.length; i++) {
String key = keys[i];
return content.toString();
}
- SOAP(String url, String methodname, String action, String nameSpace) {
+ public SOAP(String url, String methodname, String action, String nameSpace) {
super(url, methodname);
this.action = action;
this.nameSpace = nameSpace;
}
- SOAP(String url, String methodname, SOAP httpSource, String action, String nameSpace) {
+ public SOAP(String url, String methodname, SOAP httpSource, String action, String nameSpace) {
super(url, methodname, httpSource);
this.action = action;
this.nameSpace = nameSpace;