Page History
...
Note also that, unlike the other services, the CALL service does not have a success/failure return value. Instead, it simply returns the any value returned by the method. You can still use the ERROR service to determine if there was an error, particularly if an unexpected null value is returned. Note, however, that not all methods return a value, in which case a null value is returned.
Example
Code Block |
---|
// Instantiate the MSXML DOM Document object If SRP_Com(objXmlDoc, "CREATE", "Msxml2.DOMDocument") then // Load the xml rv = SRP_Com(objXmlDoc, "CALL", "loadXML", Xml) // Release the object when we're done with it SRP_Com(objXmlDoc, "RELEASE") end else Error = SRP_Com("", "ERROR") end |