Options to use RO-SDK from Flutter/Dart?

Hello,

I wonder what are the options to use RO-SDK services and structures from a client app implemented in Flutter, Dart?

Apart from REST services, that is.

Thanks!

Hi,

you can consume RO SDK services via JSON/BSON/POST/SOAP/XML-RPC messages.

for example MegaDemo service can be consumed via:

  • JSON request
{"version":"1.1","method":"MegaDemoService.Sum","params":{"A":1,"B":2}}
  • JSON response
{"version":"1.1","result":{"Result":3}}
  • POST request:
__MessageType=Message
__InterfaceName=MegaDemoService
__MessageName=Sum
__ClientID=DF724FD2-F0B3-4297-9F2A-F0E005EC71A3
A=1
B=2
  • POST response:
__MessageType=Message
__InterfaceName=MegaDemoService
__MessageName=SumResponse
__ClientID=DF724FD2-F0B3-4297-9F2A-F0E005EC71A3
Result=3
  • XMLRPC request
<methodCall><methodName>MegaDemoService.Sum</methodName><params><param><value><i4>1</i4></value></param><param><value><i4>2</i4></value></param></params></methodCall>
  • XMLRPC response
<methodResponse><params><param><value><i4>3</i4></value></param></params></methodResponse>
  • SOAP request
<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:HNS="http://tempuri.org/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ro="http://tempuri.org/"><NS1:Sum xmlns:NS1="urn:MegaDemoLibrary-MegaDemoService"><A xsi:type="xsd:int">1</A><B xsi:type="xsd:int">2</B></NS1:Sum></SOAP-ENV:Body></SOAP-ENV:Envelope>
  • SOAP response
<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:HNS="http://tempuri.org/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ro="http://tempuri.org/"><NS1:SumResponse xmlns:NS1="urn:MegaDemoLibrary-MegaDemoService"><Result xsi:type="xsd:int">3</Result></NS1:SumResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>