SOAP: builtins.soap
This is a fat page containing system.verbs.builtins.soap.It contains all the code you need to set up a SOAP server on Windows or Mac OS.
Changes
4/1/98; 11:02:29 PM by DW: In soap.soapServer, removed semaphore workaround for earlier problem with addressing cells of local tables. The bug was fixed in the 5.0.2b6 kernel.
4/1/98; 10:57:49 PM by DW: Added two new routines that allow for conversion between <array>s and <struct>s and the Frontier equivalents (lists and tables). Look in soap.experiments for examples of usage.
3/31/98; 6:10:16 AM by DW: Major change. Params are now by-order, this is made possible by a new kernel verb in 5.0.2b6, callScript. To run a SOAP server you need this new version of Frontier, available on the FastTrack site. To install the new version, after loading builtins.soap, run soap.install. It updates the SOAP responder and installs user.soap.handlers.examples.
Run soap.examples.localTest.callGetStates to test the new version.
3/29/98; 3:41:33 PM by DW: Added soap.arrayToList and soap.structToTable, to retrieve info out of <arrays>s and <struct>s.
3/29/98; 5:30:29 AM by DW: Change in parameter religion. Instead of requiring names for parameters, now they are optional. This maps more naturally to UserTalk syntax for procedure headers. So, the calling convention changes. A handler now has a normal UserTalk header. It can specifiy default values for optional parameters.
I considered changing the calling convention for soap handlers (scripts in user.soap.handlers) but decided against it. It would have been feasible to allow them to receive their parameters in the same way any
3/28/98; 8:01:26 PM by DW: Made soap.soapCall much simpler and higher level. It now totally insulates the caller from XML parsing, just returns the value that the server returned; scriptErrors if a fault is returned.
3/28/98; 6:38:39 PM by DW. In soap.soapServer, the <methodName> can be a dotted ID, allowing user.soap.handlers to be a structured space.
|
|
© Copyright 1996-97 UserLand Software. This page was last built on 4/3/98; 2:05:58 PM. It was originally posted on 3/28/98; 6:37:08 PM. Webmaster: dave@scripting.com. |