Hello,
I'm working on an XmlRpc application in Delphi 10.2 Tokyo with the latest version of RealThinClient. Instead of using DataModules the application will have classes that create the web server and components in code so these can be used in both FireMonkey and VCL applications easily. Right now the application serves up the web pages but the server is not responding to the XmlRpc commands. This is all converted from visually designed forms / data modules so it's possible I'm simply missing a step.
There's a TWebServer class that creates the TRtcHttpServer and a couple of TRtcDataProvider. This essentially combines the web server with the file server data module from your demos. It does serve up the web pages and all of their content properly so I know I'm on the right port, the web server is running, etc.
There's a TWebService class that creates a TRtcDataProvider, a TRtcFunctionGroup, and a TRtcServerModule then links them all up to the TRtcHttpServer in the TWebServer.
Finally, a TRemoteFunction class creates the TRtcFunction and links it to the TRtcFunctionGroup. A TScriptedFunction class descends from TRemoteFunction which will execute server side scripts to process the client's requests. The goal is to use the same server with different applications using a built-in scripting engine.
The main form then creates the TWebServer, TWebService (passing it the TWebServer), and a couple of TRemoteFunction instances (passing it the TWebService).
Any help you could give would be greatly appreciated!
The links to the web page and source are below.
http://www.scalesoftdevelopment.com/Bilanciai2.ziphttp://www.scalesoftdevelopment.com/VPI.zip