Web client access RO server

hi

we have a Ro Server ,my question is what is best way web client to call the procedure on server ? odata?

we use Ro7.0 + delphi2010

thanks

it can be done by different ways:

  • use RO for JavaScript. see MegaClient JS sample for details.

  • generate request in SOAP , POST or JSON formats and send it to server

  • use OnCustomResponseEvent of http server, it will allow to send requests to RO server like

http://localhost:8099/xxxx?__MessageType=Message&__InterfaceName=MegaDemoService&__MessageName=GetServerTime&__ClientId=b51199fe-9e86-4aa1-8cb1-54b4e05ab1311

see IndyHTTP-Post get only WDSL in WebBrowser topic and/or Using OnCustomResponseEvent in a ROSDK Server code snippet for additional details.

@EvgenyK,thanks for your reply.

in fact , we want a simple solution for native mobile client (IOS,android),any ideas(on delphi ro server)?

you can create native mobile clients for

  • Android with RO for Delphi/Java.
  • iOS with RO for Delphi/Cocoa.

note: you need to use modern versions of Delphi and RO 8.3.91+ for creating iOS/Android application

@EvgenyK ,Does the latest DA support odata v4 ?

DA supports only odata v1

thanks