ibm mobilefirst - IBM Worklight - JSONStore is not working when trying to push the data to back end server -


we trying push data ibm worklight application using jsonstore functionality.

we working on ibm worklight v5.0.6 environment.
steps reproduce:

  1. open worklight 5.0.6 studio
  2. import 'module_07_11_jsonstore_with_sync' project workspace
  3. accept migrate project latest worklight version
  4. build & deploy app worklight server
  5. try create jsonstore
  6. at stage getting error:

    jsonstorewizard.invokeprocedurepage got exception invoking adapter

because of this, not able create new jsonstore instance.

what reason getting error?

after:

accept migrate project latest worklight version

expand adapters folder > right click on user folder > select deploy worklight adapter , check deployed correctly in console.

you may want test adapter in isolation too. "invoke adapter procedure" eclipse.

there's no need use jsonstore wizard work sample, if recall correctly. deploy adapter, build , deploy app, open android or iphone worklight application, play ui , read source code.

i recommend reading jsonstore documentation part under adapter. take at: wl.jsonstore, init, push, load , count. examples should data , push adapter.

if run issues, this stackoverflow answer can debug , provide more information if ask jsonstore questions.

what reason getting error?

the jsonstorewizard.invokeprocedurepage error seems indicate invoking adapter failed. leave comment if you're still unable push data , i'll update answer.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -