ibm-mobilefirst

worklight adapter

孤街浪徒 提交于 2019-12-11 15:09:08
问题 I am getting a problem in worklight adapter , In the following http adapter method ,it is showing The mandatory parameter 'action' is missing , returning statusCode as 500 and statusReason as " Internal Server Error ". I had given all the user credentials correctly in adapter xml file, but I don't know why I'm getting this error. Code: function actionOnProcessInstance() { var param = "/rest/bpm/bfm/v1/process/_PI:9003013d.4387342e.1efe573f.7c20307?action=resume"; var input = { method : 'put',

IBM MobileFirst 7.1 with Android Cordova failure when init JSONStore

半腔热情 提交于 2019-12-11 15:06:10
问题 I am trying to create a 'heloworld' project with IBM Mobilefirst 7.1 integrate cordova using platform android and enable feature JSONStore Step 1: create mobilefirst cordova project flowing link https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/hello-world/integrating-mfpf-sdk-in-cordova-applications/#sampleApplication Note: platform android and add more plugin jsonstore Step 2: add feature JSONStore in application-descriptor.xml Step 3: add code in function wlCommonInit WL

Invalid Token, error while sending push notification

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 14:58:26
问题 I am trying to send push notitfication to ios using worklight. But while sending it, IDE shows invalid token id error in logs. I am trying this by signing my app using sandbox certificate. Please help. I am successfully send notification to android. 回答1: Can you add the actual full error from the Xcode console and Worklight Server? Meanwhile, make sure everything is set-up correctly. The Developer Certificate, the PNS certificate, the App ID, provisioning profile, ... You can follow this

Get PDF files from Worklight Server to the client

强颜欢笑 提交于 2019-12-11 14:58:15
问题 Based on the following reference:- Worklight Adapter getting pdf file from rest service, i got the PDF file from tomcat server through the worklight adapter. The server side code is:- var input = { method : 'get', returnedContentType : 'plain', path : '/PDF/example-abstract.pdf' }; return WL.Server.invokeHttp(input); When i invoke the invoke the procedure i am able to successfully retrieve the result. When i invoke the same procedure from client side like below:- var invocationData = {

IBM Worklight 6.1 - Runtime: Http request failed: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

孤街醉人 提交于 2019-12-11 14:37:43
问题 I'm using IBM worklight 6.1 and backbone.js for my mobile app project. I got this error message when I try invoke the adapter. Orders.xml <?xml version="1.0" encoding="UTF-8"?> <wl:adapter name="Orders" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wl="http://www.worklight.com/integration" xmlns:http="http://www.worklight.com/integration/http"> <displayName>Orders</displayName> <description>Orders</description> <connectivity> <connectionPolicy xsi:type="http

Worklight 6.0 application using SSL

非 Y 不嫁゛ 提交于 2019-12-11 14:19:18
问题 Worklight 6.0.0, targeting iPad. I have a simple demonstration application, no authentication at present. I am demonstrating use of reverse proxy. So I am building my application using the Build for Remote Server workaround and can see in xcode the correct server specification. I have some adapter calls, but for a particular demo scenario I also want to make an explicit call to WL.Client.connect( ... ); If I use an http connection I see a request like this: http://192.168.0.19/MyApp/apps

Mobilefirst 8.0 Session timeout implementation

Deadly 提交于 2019-12-11 14:14:28
问题 In My application login and transactions after login are implemented using Mobilefirst 8.0. And I have implemented challenge handler and security test with 60 sec timeout for authentication. My application is getting a session timeout after 60 sec from the time of login even while doing transaction also. How to reset session timeout for each request to server? 来源: https://stackoverflow.com/questions/47174990/mobilefirst-8-0-session-timeout-implementation

jQuery nav bars appearing outside of the content width

你离开我真会死。 提交于 2019-12-11 14:11:14
问题 I have a really annoying issue whereby the persistent jQuery nav bars are appearing outside of the content width, much wider than the rest of the content on the page, this is what I see when I preview my HTML : Using <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" /> in the <head> it should set the content width to be the device width, which it has for the header and text element, but not for the nav bars. This is my

Unauthorized access was denied or security settings have expired javax.net.ssl.SSLException: certificate_unknown when creating MobileFirst runtime

半城伤御伤魂 提交于 2019-12-11 13:17:59
问题 I'm installing a v7.0.0 MobileFirst Server with Liberty 8.5.5.4 with Java 1.7.0 on RedHat in Nonadminstrator mode. Steps I have followed: Successfully install Liberty, create a server and verify it starts with no errors in messages.log. Install MFP Server. Use the MFP Server Configuration Tool to create an MFP configuration using the Liberty server. Bounce the Liberty server and verify it starts with no errors. Create an MFP Runtime using the Server Configuration Tool. Bounce the server and

Calling init on WL.JSONStore without repeating previously used options

旧时模样 提交于 2019-12-11 13:17:53
问题 Is there a way to initialize() ("re-open") an existing JSONStore collection with the same arguments that were used to create it, without passing them again? E.g. without specifying the searchFields that were set up on its creation. 回答1: Not possible, you must always pass the same arguments (search fields, etc). You can open a feature request here if you want. 回答2: JSONstore does not provide a way to do what you are asking about - init() doesn't keep any "memory" of the arguments that were