We have a RemObjects SDK HTTP server that exposes a number of services and methods. Is it possible to call a method via a URI rather than passing the parameters as SOAP/JSON e.g.
http://www.mywebservice.com/servicename/methodname?param1=xxx¶m2=yyy
UPDATE
I've written an improved version of the server descendant. This one converts a formatted URI into a JSON object that will subsequently be handled by the RO JSON Message handler.
The default handing method is to ignore the URI.
Change
URIHandlingMethod
tourhJSON
to accept a URI like this:Set
URIHandlingMethod
tourhParametersto
to accept a URI like this:Here's the code:
Original Answer
This is a follow up to André's answer.
With the current version of RemObjects SDK the following URI should work, but doesn't:
There are 2 reasons why:
I've created a ROIndyHTTPServer descendant that fixes both problems. Here's the code:
This doesn't answer my question, but it is a workaround for anybody having similar problems.
I'm still keen to hear if RO SDK supports the use of custom URIs.