betty.rpc.server
| Syntax |
betty.rpc.server (xmlText, adrParamTable)
|
| Params |
xmlText is a string containing the body of an HTTP request. adrParamTable is the address of a table containing information about the request.
|
| Action |
Handles a remote procedure call which is expected to conform to the XML-RPC protocol.
|
| Returns |
A string, the XML-RPC response.
|
| Notes |
This verb is called from the RPC2 responder on an incoming request. The RPC2 responder in turn is called from webserver.dispatch for certain HTTP requests. It's implemented as a script, it converts the XML-encoded request to a Frontier data structure and calls the appropriate XML-RPC handler. The handler's response is also encoded in XML and sent to the client. All incoming XML-RPC requests will be logged to the daily log GDB if user.betty.prefs.flKeepServerLog is true. If user.betty.prefs.flAllowByIpOnly is true, only requests originating from IP addresses in user.betty.prefs.allowedIpAddresses (a comma-delimited string of IP addresses) will be accepted for processing. This is one of two core routines in Frontier's XML-RPC functionality. The other side, the client, is implemented in betty.rpc.client. The XML-RPC specification is available at http://www.xmlrpc.com/spec
|
| See Also |
betty.rpc.client
|