ibm-mobilefirst

mobilefirst 7.1 authentication not working

扶醉桌前 提交于 2019-12-12 03:35:43
问题 *EDIT: An IBM Employee visited us today to have a look at this problem as well. We did not solve the problem, but we think the root of the problem is something else. So I will rewrite the problem description. The server was refusing connection due to the appAuthenticityTest failing. So for now we disabled the appAuthenticityTest to test the server configuration. But we are now seeing the following errors in the log: [3/4/16 16:12:06:529 CET] 000000a4 LoginContext E com.worklight.core.auth

MobileFirst 8 JMS Adapter

不打扰是莪最后的温柔 提交于 2019-12-12 03:34:25
问题 I want to upgrade the version of MobileFirst from WL v6.2 to MFP v8. The actual implementation uses a JMS Adapter for reading messages from a IBM MQ Queue to send push notification. MFP v8 no longer offers this kind of adapter and I would like to know what is the best way to read message from a Queue with the newest version. Thanks, Stefano 回答1: Because JMS support is currently not supported, your best bet IMO would be to create your own JMS client in a Java adapter and handle it on your own

How to configure IBM MobileFirst Platform 8.0 analytics console REST API maximum search result?

不问归期 提交于 2019-12-12 03:34:17
问题 Why is the Elasticsearch REST API for search and view data via port 9500* returning only 10 records? Is there a maximum number that controls this? http://localhost:9500/*/_search?q=module:"login" *https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/8.0/analyt ics/elasticsearch/ 回答1: Since analytics is based on the elasticsearch, to the query you need to add the additional parameter &size=100000 to the url. Example: http://localhost:9500/_search?size=100000 来源: https:/

Calling adapters in “desktop” does not work

那年仲夏 提交于 2019-12-12 03:29:07
问题 Using IBM MobileFirst 7.1 I have created a very simple hybrid project. Then added a very simple java adapter: @Path("/hello") public class BrokenAdapterResource { @GET @Produces("text/plain") public String hello() { return "Hope keeps man alive....!"; } } and also created a MobileFirst environment: "Desktop Browser web page". I try to call the adapter. When I call it from the "common" it works as expected. However when I call it from "desktop" it does not work: var resourceRequest = new

How to use adapters to retrieve SQL Server “image” datatype value

人盡茶涼 提交于 2019-12-12 03:18:32
问题 I want to retrieve data stored in image datatype of SQL Server. But when I invoke adapter all I get is **PHOTO": "[B@62c2805a",** According to this blog we need to get bytes from returned value and it may be java.sql.Blob a simple toString() on the object. https://www.ibm.com/developerworks/community/blogs/dhuyvett/entry/jsonstore_revisited_in_worklight_v6_part_1_the_adapter?lang=en When I tried getting bytes, I got following error Java class \"[B\" has no public instance field or method

Missing WLInitializationPlugin when app is started worklight 6.2

醉酒当歌 提交于 2019-12-12 03:17:31
问题 i've made ant tasks for build and deploy my project. The ant tasks are proper configured, but when the application is downloaded from the appcenter or installed from the generated apk from jenkins it throws some classNotFoundExceptions when getting started: 02-10 16:10:54.860: W/System.err(7584): java.lang.ClassNotFoundException: com.worklight.androidgap.plugin.WLInitializationPlugin 02-10 16:10:55.640: W/System.err(7584): java.lang.ClassNotFoundException: com.worklight.androidgap.plugin

Mobile first Platform 7.1 - Display user agreement when Application is downloaded

点点圈 提交于 2019-12-12 03:13:37
问题 We have requirement to display user agreement when first time user downloads the application. Is there any event or method that is invoked only one time when the application is downloaded. Any suggestion will be appreciated. 回答1: There is no such "first time only" method provided by the MobileFirst Platform. What I would suggest for your requirement would to persistently store the acceptance of the user agreement in a JSONStore document. When you start the app, query the JSONStore to see if

isCustomResponse() API - Available or not MFPF8

烈酒焚心 提交于 2019-12-12 03:07:59
问题 I have been trying to use isCustomResponse() API to grab the responses back from the network. I need to test the responses before I can make decision on what I need to do next in my Cordova app. I had earlier asked a similar question before @ submitLoginForm() does not send the data to the authentication server - MobileFirst Cordova client and it was informed that isCustomResponse() API is no longer available in MFPF8. When I look at the API list on MFPF8 online help here: https://www.ibm.com

Worklight 6.2 iOS binary issue with MobileFirst 7.1

强颜欢笑 提交于 2019-12-12 03:06:10
问题 I have MFP Server version: 7.1.0.00.20160401-2103 I'm trying to accomplish the following: MyApp runtime (WAR file) is built using MFP 7.1 My WLAPP's, Adapters and device binaries are built using WL 6.2 Where I need to run 6.2 app inside MFP 7.1 container to mimic my production environment as I can't have two stand alone live server in PROD, one for WL 6.2 and the other for MFP7.1. My concern is the following for iOS (9+): The iOS app that is live is built with ATS not configured and bit code

submitLoginForm() does not send the data to the authentication server - MobileFirst Cordova client

折月煮酒 提交于 2019-12-12 03:04:17
问题 I am trying to write a cordova hybrid application test application on MobileFirst platform. In my challenge handler, I have included a code to send a login information to my authentication server using submitLoginForm() java script API. I check using wireshark if any auth request to my authentication server is getting generated, but it does not. Can you please help me identify the issue with my code? I can see the alert until Inside handleChallenge3 , but does not see the alert for Closing