ibm-mobilefirst

IBM Worklight HTTP Adapter SOAP response: XSL transformation failed

二次信任 提交于 2019-12-01 11:24:43
问题 i've built an http adapter that call a soap web service ==> it works fine. But when i add a xsl transformation file and run the adapter procedure with transformation : { type : 'xslFile', xslFile : 'filtered.xsl' } and an empty xsl file <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:h="http://www.w3.org/1999/xhtml"> <xsl:output method="text"/> <xsl:template match="/"> </xsl:template> i've got the following error: "Ecma Error: TypeError: Cannot read

IBM Mobilefirst CLI - Server start issue

╄→гoц情女王★ 提交于 2019-12-01 11:17:52
I recently installed IBM MobileFirst CLI on my Mac, but I don't seem to be able to start the Server. See error below. I searched the internet and found that there is a bug in JDK which causes the JavaLaunchHelper error. I downloaded the beta version that supposedly fixes the issue from here - JDK Download Link . But this doesn't help either. Any other help is appreciated. Imayas-MBP:EmployeeDirectory imaya$ mfp start Initializing MobileFirst Console. objc[18564]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java and /Library

IBM Worklight - Build failed

不打扰是莪最后的温柔 提交于 2019-12-01 10:53:19
问题 My environments are failing to build after restart, cleaning, exiting the eclipse, deleting native folders, also I am looking for a reason and perfect fix of this below error as any developer wont be deleting every time when this issue arises, please help error log windowsphone build failed: com.worklight.builder.exception.WorklightBuildRuntimeException: Resource Manager - Error while reading XML file: /Users/Desktop/16th July/30thJuly-Map/test_Login/apps/test/windowsphone/native/Properties

Is a signed SSL certificate required for Worklight development?

∥☆過路亽.° 提交于 2019-12-01 10:30:24
I'm working on a demo in Worklight version 6.0 where I need to use SSL from iOS and Android to the Worklight Server. Is there any way to use a self-signed or test certificate in the Worklight server? Or do I need to buy a certificate from one of the standard CAs even for test/demo? I've seen references to how to import my certificate in the Android system trust store, and that looks promising, but I'm not seeing anything equivalent for iOS. There are a number of native code workarounds (which net out to disabling SSL certificate verification altogether) along with much discussion about which

IBM Worklight Android 4.4 issue, JSON Store stopped working

我的梦境 提交于 2019-12-01 09:56:02
问题 I have just upgraded my N4 to Kitkat and tested some of old apps being developed using IBM Worklight. It was shocking for me that JSON Store stopped working, I am submitting below log please check. Does anyone else face the same issue ? 11-27 11:48:03.078: I/jsonstore-core(23424): Performing migration to JSONStore 2.0 11-27 11:48:03.078: E/jsonstore-core(23424): Unable to create jsonstore directory 11-27 11:48:03.078: E/jsonstore-core(23424): java.lang.Exception: Unable to create jsonstore

worklight server configuration - separating adapters and server

我的梦境 提交于 2019-12-01 09:52:14
问题 Two part question. Generic question about a server configuration feature, and then it's possible implications for what we'd like to do. The worklight properties file has entries publicWorklightHostname, publicWorklightPort, publicWorklightProtocol. Individual applications also specify much the same information in the application descriptor. It's clear that applications need the descriptor information to "find" the server. What purpose do the corresponding entries serve in worklight.properties

Is a signed SSL certificate required for Worklight development?

眉间皱痕 提交于 2019-12-01 09:38:20
问题 I'm working on a demo in Worklight version 6.0 where I need to use SSL from iOS and Android to the Worklight Server. Is there any way to use a self-signed or test certificate in the Worklight server? Or do I need to buy a certificate from one of the standard CAs even for test/demo? I've seen references to how to import my certificate in the Android system trust store, and that looks promising, but I'm not seeing anything equivalent for iOS. There are a number of native code workarounds (which

Worklight method for checking connection

白昼怎懂夜的黑 提交于 2019-12-01 09:23:10
The project im working on, they would like active server connection detection before each call. Im trying to find out if its better to use: WL.Device.getNetworkInfo:isNetworkConnected or WL.Client.connect I know that getNetworkInfo only checks if the phone has contectivity to the net, while wl.client.connect will actually connect to the server. Im just afraid that wl.client.connect will be an expensive call to make before every invokeProcedure call. Is there a better way to check for connectivity before the invokeProcedure call? getNetworkInfo API can be used to verify whether device currently

How to open native camera in ibm worklight

让人想犯罪 __ 提交于 2019-12-01 09:11:01
问题 Ibm Worklight have samples that calling the native app, but that was created in worklight itself eg: module_09_1_Android_CombiningNativeAndWebPages in this sample in android folder itself they creating one activity "com.AndroidShowNativePage.HelloNative" (package name) that activity was invoking from that javascript. But, i need to call the native camera " com.android.camera " from the worklight is that possible ? if yes, please share your knowledge. Thanks in Advance!! 回答1: Use this function

IBM Worklight - Can we create a desktop based application?

让人想犯罪 __ 提交于 2019-12-01 07:26:40
问题 Can we create a Desktop application using Worklight? For example, we can create a desktop based applications using Adobe AIR, Titanium, RCP, etc. What such type of applications can we develop using Worklight? 回答1: If you click on Worklight icon, you can create a Worklight environment associated to your worklight project. This is an example on Worklight 5.0.6 Other information here 回答2: In Worklight 6.0.0 you can create a Worklight app that will run on: Windows 8 (hybrid desktop / tablet)