if (name.equals("SOAP-ENV:Envelope")) return;
if (name.equals("SOAP-ENV:Body")) return;
if (name.equals("SOAP-ENV:Fault")) fault = true;
if (name.equals("SOAP-ENV:Envelope")) return;
if (name.equals("SOAP-ENV:Body")) return;
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.Obj());
// add a generic struct; we'll change this if our type is different
objects.addElement(new JS.Obj());
- objects.addElement(new ByteStream(Base64.decode(new String(content.getBuf(), 0, content.size()))));
+ objects.addElement(new Res.ByteArray(Base64.decode(new String(content.getBuf(), 0, content.size()))));
} else if (me instanceof Integer) {
objects.removeElementAt(objects.size() - 1);
objects.addElement(new Integer(new String(content.getBuf(), 0, content.size())));
} else if (me instanceof Integer) {
objects.removeElementAt(objects.size() - 1);
objects.addElement(new Integer(new String(content.getBuf(), 0, content.size())));
byte[] buf = new byte[54];
while(true) {
int numread = is.read(buf, 0, 54);
byte[] buf = new byte[54];
while(true) {
int numread = is.read(buf, 0, 54);
if (Log.on) Log.log(this, e);
throw new JS.Exn("caught IOException while attempting to send a ByteStream via SOAP");
}
if (Log.on) Log.log(this, e);
throw new JS.Exn("caught IOException while attempting to send a ByteStream via SOAP");
}