ibm-mobilefirst

Unauthorized WL.Client.invokeProcedure call

非 Y 不嫁゛ 提交于 2019-12-25 17:18:04
问题 WL.Client.InvokeProcedure is an internal API and used by Worklight Framework, however, you can call this API after connecting a device in Debug mode with Google Chrome. How can we restrict the access to WL.Client.invokeProcedure so that a user is not able to Exploit this call? Steps to replicate (for Exploitation Only): 1. unpack an APK built by Worklight 2. Set the android:debuggable=true (also check how WL Adapters are being called in JS files) 3. Rebuild the APK 4. Install the APK in

Worklight Adapter to connect to Advantage Database

让人想犯罪 __ 提交于 2019-12-25 17:05:28
问题 I need to connect to the Advantage Database through worklight Adapter. I added the adsjdbc.jar(8.1), and added the datasource definition in *SQLadapter.xml file <dataSourceDefinition> <driverClass>com.extendedsystems.jdbc.advantage.ADSDriver</driverClass> <url>jdbc:extendedsystems:advantage://ipaddress:port/wxzy$/TP8/COMPANY/ABCDMAIN/ABCDMAIN.add;</url> <user>xyz</user> <password>12345</password> </dataSourceDefinition> When I try to Invoke the procedure, It throws { "errors": [ "Runtime: org

IBM Worklight 6.0 - How to include a PHP file?

…衆ロ難τιáo~ 提交于 2019-12-25 16:44:27
问题 I am trying to develop a mobile app with HTML5, CSS and JavaScript in Eclipse Juno with IBM Worklight v6. For the back-end if I want to use PHP files to connect to database, in which folder should that be included? After that will the database be connected to my Worklight project? 回答1: It doesn't work that way. Worklight projects do not support PHP. If you want to connect to a database via your Worklight application, you need to use Worklight Adapters. Specifically, the SQL adapter: SQL

Worklight fails to install customization jar

99封情书 提交于 2019-12-25 16:44:19
问题 I have three projects in my workspace, two deploy to the server correctly, the third has just begun to give this error: Failed to install and start project customization from file <path>MyProj-customization.jar I've seen this before on other projects and usually it's sufficient to start the server for another project and come back to the one with problems. When that doesn't work the next recipe (found on developer works) is Exit Eclipse/Worklight Studio Delete <workspace>/WorkLightServerHome

Worklight fails to install customization jar

时光毁灭记忆、已成空白 提交于 2019-12-25 16:43:24
问题 I have three projects in my workspace, two deploy to the server correctly, the third has just begun to give this error: Failed to install and start project customization from file <path>MyProj-customization.jar I've seen this before on other projects and usually it's sufficient to start the server for another project and come back to the one with problems. When that doesn't work the next recipe (found on developer works) is Exit Eclipse/Worklight Studio Delete <workspace>/WorkLightServerHome

IBM Worklight - Sent push notification to Android are not arriving

痴心易碎 提交于 2019-12-25 16:41:39
问题 I've downloaded the push notifications project from "Woklight getting started" and I've installed it in my device with the proper API key and senderId. I've deployed the adapter and it's working fine. Now I'm trying to do the test of sending push notifications to the device. To log in the application I can use arbitrary values, am I right? Like Username="Santaclaus" and Password="cheese". Then to invoke the adapter procedure by right-clicking the adapter > invoke procedure > specify username

IBM Worklight - Sent push notification to Android are not arriving

故事扮演 提交于 2019-12-25 16:41:14
问题 I've downloaded the push notifications project from "Woklight getting started" and I've installed it in my device with the proper API key and senderId. I've deployed the adapter and it's working fine. Now I'm trying to do the test of sending push notifications to the device. To log in the application I can use arbitrary values, am I right? Like Username="Santaclaus" and Password="cheese". Then to invoke the adapter procedure by right-clicking the adapter > invoke procedure > specify username

IBM MobileFirst Platform Operations Console : No runtime can be found

淺唱寂寞╮ 提交于 2019-12-25 15:54:06
问题 My setup: MobileFirst Platform foundation 6.3.0.00-20141127-1357 WebSphere Application Server 8.5.5.0 (1.0.3.20130510-0831) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_75-b13 (en_US) hosted on softlayer Installed using the knowledge center guide for 6.3. I have 1 issues now that I can't seem to understand: Built the .war and tried to deploy it using the server config tool but I end up with "no runtime found" like in the various posts. Things I have checked: my java version that was

IBM Worklight 6.0 - Dojo application doesn't work on Samsung Galaxy S3

天大地大妈咪最大 提交于 2019-12-25 15:53:36
问题 I haven't been able to get any worklight/dojo apps to work on the Samsung Galaxy S3. I have put together a trivial Worklight application in Worklight Studio v6. It has 2 views. The first view has a text box and a button, the second view has a text box. <div data-dojo-type="dojox.mobile.ScrollableView" id="view0" data-dojo-props="selected:true"> <div data-dojo-type="dojox.mobile.Heading" data-dojo-props="label:'Page 0'"></div> <input data-dojo-type="dojox.mobile.TextBox"> <button data-dojo

Can I install an older version of Worklight studio? [duplicate]

孤街浪徒 提交于 2019-12-25 12:45:22
问题 This question already has answers here : IBM Worklight - Where to find previous releases (3 answers) Closed 5 years ago . On my project, we are using version 6.1.0.01 of the Developer's Edition of Worklight studio. The Eclipse Marketplace only offers version 6.2 now, and we need to onboard a new developer. Is there anyway to install 6.1.0.01? (i.e., via a direct download link?) 回答1: See here: IBM Worklight - Where to find previous releases Worklight 6.2 (from the Worklight homepage or from