So, a webservice call may look like this:
- Code: Select all
http://domain/servoy-service/rest_ws/SOLUTION/FORM
and return something like
- Code: Select all
{ "hello" : "Hi, I'm JSON. Who are you?"}
Instead, with a JSONP request the url would look like this:
- Code: Select all
http://domain/servoy-service/rest_ws/SOLUTION/FORM?callback=myCallback
and return something like
- Code: Select all
myCallback({ "hello" : "Hi, I'm JSON. Who are you?"})
This would allow you to use Servoy web services with jQuery. I know the rest_ws plugin is open source, so if I make the change, can I submit a patch for this to be included as a standard part of the plugin, or would you prefer this be done as a separate plugin?