Using REST services

I see where Scriptcase can connect DIRECTLY to different databases, but what if I want to access this information using REST services (which I can create externally, if i have to).

How would I go about doing this, and would it then “break” all the tooling as my dataset would then be “isolated” from the true db.

You can retrieve data from REST and put values you need on form. But if you want to use a database communication in all your Project using REST, SC cant do it and is not worth.

I disagree. The ‘trick’ is to setup a local database to store the by rest service retrieved data in. Then proceed from there. Use the libraries to setup the amount of rest calls. To build and test your application you use your local database. When it’s all good in order you bind the services. Same goes for soap or other calls.

You mean about creating a Controller layer responsible to syncronize REST services with a local database?

I always load data retrieved by a webservice into the database. Simply because scriptcase works the best with a database. Besides that, the advantage is that you can build the rest of your application that is using the data independent from the service. It’s works well for us.