Home:ALL Converter>Bypass IBM Worklight server to access web service

Bypass IBM Worklight server to access web service

Ask Time:2014-05-19T19:47:05         Author:user867662

Json Formatter

I have a question regarding IBM Worklight. We are evaluating few cross platform frameworks. One of the tools which we are evaluating is IBM Worklight. Our question is, to access a web service from IBM worklight, we can do it by using adapters. If we are using the adapter, then, we need to host the adapters in the IBM Worklight server component. Is there any way access a web service from IBM Worklight without using the adapter. For example, to develop UI in IBM worklight, I can use, Sencha, JQuery Mobile or Dojo Mobile. Can I access the web services from the above libraries (Sencha, JQuery Mobile or Dojo Mobile) without using the IBM Worklight Server? I know that if I bypass the server, then I cannot get the features of IBM Worklight server like, caching, filteting etc.

Author:user867662,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/23736946/bypass-ibm-worklight-server-to-access-web-service
Rajesh Madhu :

You can use the ajax call.\n\nWLJQ.ajax( \"http://example.com\" )\n.done(function (data) {\nconsole.log(data);\n});\n\n\nYou can use jQuery or $ by : var $ = WLJQ; or var jQuery = WLJQ;. WLJQ is worklight jquery that is been provided by IBM worklight.\n\nMake sure why you don't want the adapter functionality and worklight server functionality before going for this approach.",
2014-05-19T12:36:03
yy