worklight calling service using adapter fails -
i using ibm worklight depoly on iphone , when seek phone call soap service using adapter error can't understand cause of it. this log got:
2014-06-24 20:57:26.375 myapp[842:60b] user name xxxxx 2014-06-24 20:57:26.376 myapp[842:60b] [debug] [none] establishsslclientauth 2014-06-24 20:57:26.378 myapp[842:60b] wluserauthmanager.getcertificateidentifierfromentity: com.worklight.userenrollment.certificate:com.myapp.dev 2014-06-24 20:57:26.381 myapp[842:60b] [debug] [none] establishsslclientauth iscertificateexists: false 2014-06-24 20:57:26.383 myapp[842:60b] [debug] [none] request[http://192.168.23.1:10080/myapp/apps/services/api/myapp/iphone/query] 2014-06-24 20:57:26.416 myapp[842:60b] [error] [none] [http://192.168.23.1:10080/myapp/apps/services/api/myapp/iphone/query] failure. state: 500, response: application 'myapp' version=1.0 not back upwards iphone environment 2014-06-24 20:57:26.417 myapp[842:60b] loading stop 2014-06-24 20:57:26.418 myapp[842:60b] mymodel::error::{"status":500,"invocationcontext":null,"errorcode":"unexpected_error","errormsg":"the application 'myapp' version=1.0 not back upwards iphone environment"}
note: the app deployed on android no problem.
edit:
i forgot deployed iphone app no problem. message shown when seek phone call adapter calling web service.
as idan stated above error due fact not have version 1.0 of application "myapp" deployed worklight server. accomplish in wl studio right click iphone enviornment in below location , run as-> run on worklight development server:
/"project name"/apps/myapp/iphone
also create sure have right version listed within of application descriptor specific environment. can verify application has been deployed seeing next messages within of console:
deploying application 'myapp' environment 'iphone' worklight server... application 'myapp' deployed environment 'iphone'
just quick tip, can test adapters within of wl studio right-clicking specific adapter , choosing run -> invoke worklight procedure. here can take procedure want test , include parameters requests
worklight worklight-adapters worklight-security
No comments:
Post a Comment