X-Git-Url: http://git.megacz.com/?p=org.ibex.js.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjs%2FSOAP.java;h=519eac7027601c8e7814ff718cdcdcf776bc52e9;hp=d1a2d6176cecbfb8c762147d0de9712254896fb4;hb=a1e6b7e9307319c0195b0efbe5e5354c128be481;hpb=f637057f12669bb9fe8d76a72e0bfcc898dc0715 diff --git a/src/org/ibex/js/SOAP.java b/src/org/ibex/js/SOAP.java index d1a2d61..519eac7 100644 --- a/src/org/ibex/js/SOAP.java +++ b/src/org/ibex/js/SOAP.java @@ -49,16 +49,16 @@ public class SOAP extends XMLRPC { if (key.endsWith("ype")) { if (value.endsWith("boolean")) { objects.pop(); - objects.push(Script.B(true)); + objects.push(JSU.B(true)); } else if (value.endsWith("int")) { objects.pop(); - objects.push(Script.N(0)); + objects.push(JSU.N(0)); } else if (value.endsWith("double")) { objects.pop(); - objects.push(Script.N(0.0)); + objects.push(JSU.N(0.0)); } else if (value.endsWith("string")) { objects.pop(); - objects.push(Script.S("")); + objects.push(JSU.S("")); } else if (value.endsWith("base64")) { objects.pop(); objects.push(new byte[] { }); @@ -152,7 +152,7 @@ public class SOAP extends XMLRPC { } else if (parent != null && parent instanceof JS) { objects.pop(); try { - ((JS)parent).put(Script.S(name), me); + ((JS)parent).put(JSU.S(name), me); } catch (JSExn e) { throw new Error("this should never happen"); }