Adapter not getting called in IBM MobileFirst Platform v8.0 -


i trying call javascript adapter procedure using wlresourcerequest. not getting called.

client code snippet:

var url = "/adapters/adapternew/getfeed"; var resourcerequest = new wlresourcerequest(url, wlresourcerequest.post); resourcerequest.send().then(app.onsuccess, app.onfailure); 

server code snippet:

function getfeed(tag) {     var input = {         method : 'get',         returnedcontenttype : 'xml',         path : getpath(tag)     };     return mfp.server.invokehttp(input); } 

it not giving error. please let me know issue.

thanks.

please refer discussion here.

mobilefirst platform javascript adapter can't parameters through wlresourcerequest

basically javascript parameters handled differently , explanation given in above should here well.


Comments