Ok. I saw that further on in the file and that's what I suspected, but I wasn't sure. I'll make the change to the ASP versions too, to use soda.Methodname (JScript), soda.item("methodName") (VBScript), and $soda[ "methodName" ] (PHP), respectively.
Leif ----- Original Message ----- From: "Raymond Irving" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 18, 2003 10:35 AM Subject: Re: [Dynapi-Dev] ioelmsrv.soda.jscript.asp -> ioelmsrv.soda.php conversion > Hi Leif, > > The variable mn is used to hold the method name but > it's used further down in function. > > It should be safe to replace mn in line 110 and 114 of > ioelmsvr.soda.jscript.asp with soda.methodName > > -- > Raymond Irving > > --- Leif W <[EMAIL PROTECTED]> wrote: > > In the ASP versions of the file, in function > > wsDispatch, an undefined > > variable named "mn" is passed to > > ws__createSODAEnvelope. Is this correct? > > It doesn't seem correct... Should a NULL value be > > passed instead, or should > > mn be set to something beforehand? > > > > Leif > > > > JScript version > > --------------- > > // check if internal system function returned any > > data > > if(!isoda) { > > // Not System Function - continue with dispatch & > > invoke dispatch events > > if created > > continueDispatch=true; > > // trigger dispatch event > > if (wso_hasDispatchEvent) { > > value=ws__invokeEvent("dispatch"); > > if (value==false) { > > // send error (E4) message to client - > > connection rejected > > isoda = > > > ws__createSODAEnvelope(mn,null,"E4",wso_sodaErrorText["E4"]); > > > > ----^^---- > > continueDispatch=false; > > }else if(typeof(value)=="string") { > > // send error (E1) message to client - system > > error > > isoda = > > > ws__createSODAEnvelope(mn,null,"E1",wso_sodaErrorText["E1"]+ > > " : > > "+value+" while executing dispatch event") > > > > ----^^---- > > continueDispatch=false; > > } > > } > > } > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Dynapi-Dev mailing list > > [EMAIL PROTECTED] > > > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/[EMAIL PROTECTED]/ > > ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/[EMAIL PROTECTED]/