This is a generic XML-RPC server that handles XML-remote-procedure-calls.
It is fully compatible with the Java XML-RPC package of
Hannes Wallnoefer (see http://www.xmlrpc.com/).
It handles XMLRPC-requests are of the form:
POST /RPC2 HTTP/1.0
Content-Type: text/xml
Content-Length: 100
Math.add
41
Functor
XmlrpcServer ("/home/afranke/import/mathweb/xmlrpc/src/XmlrpcServer.oz")
Import
- Error(exceptionToMessage messageToVirtualString)
- Property(put)
- URL(make toVirtualString)
- System
- Http(server:HttpServer connection:HttpConnection) at "x-ozlib://mathweb/httpd/Http.ozf"
- XmlParser at "x-ozlib://mathweb/xmlparser/XmlParser.ozf"
- PModule at "x-ozlib://mathweb/xmlrpc/xmlrpc.parser.ozf"
- SModule at "x-ozlib://mathweb/xmlrpc/xmlrpc.sem.ozf"
- XmlrpcWriter(class:Xmlrpc) at "x-ozlib://mathweb/xmlrpc/xmlrpc.printer.ozf"
Export
Define
class XmlRpcServer from Http.server
feat services
- init(...)
- register(Path S)
- unregister(Path)
end
class XmlRpcConnection from Http.connection XmlrpcWriter.class
- init(...)
- beginResponseBase()
- 'GET'(X ...)
- 'POST'(X Content ...)
- ParseRequest(Request MethodCall)
- WriteResponse(Meth)
end
End