ibm-mobilefirst

Worklight Adapter getting pdf file from rest service

白昼怎懂夜的黑 提交于 2019-11-28 10:10:15
问题 I am trying to access to a Rest Service who exposes a pdf file, but I get this response when invoking the procedure: { "errors": [ "Failed to parse the payload from backend (procedure: HttpRequest)" ], "info": [ ], "isSuccessful": false, "responseHeaders": { "Content-Type": "application\/octet-stream; type=\"application\/xop+xml\"; boundary=\"uuid:****************\"; start=\"<pdf>\"; start-info=\"application\/pdf\"", "Date": "Thu, 07 Nov 2013 14:44:54 GMT", "Server": "Apache-Coyote\/1.1",

IBM Worklight: UI Performance

怎甘沉沦 提交于 2019-11-28 09:34:18
I have used jQuery Mobile 1.3 for Worklight 5.0.6 development. I find that some of the functionalities such as Transitions , Panels and Popup Menu are not smooth in real device (Samsung Galaxy S3 & Samsung Note II, Android 4.1.1). It is poor and quite lag during display. As Phonegap framework is used by Worklight ultimately, I have created a same mobile application using Phonegap and the performance is dramatically smoother than that using Worklight... May I know why is it so and is there any way to improve the UI performance? Thanks a lot. Here is the code for the testing app: Worklight ,

WL 5.0.6.1 Android - Direct Update keeps Native/Cordova resources active/in memory (e.g. BusyIndicator) but reference is lost

£可爱£侵袭症+ 提交于 2019-11-28 08:52:08
问题 We are having a problem when we have the following sequence: App Startup Web Resources start Show a Busy Indicator (1) Connect to WL Server Direct Update gets triggered Web Resources restart Show a Busy Indicator (2) Connect to WL Server Success Load and change to welcome page Hide Busy Indicator (2) This has the effect that in the direct-updated web resources we are (of course) loosing/missing the reference to the busy indicator (1) and we are not able to hide that indicator after the direct

Uploading large (and binary) files to Worklight adapter

允我心安 提交于 2019-11-28 06:59:46
问题 We're doing a lot of work with large images and long audio files on hybrid apps using Worklight. I see that I can adjust the max file setting for calls to the adapter, but I don't see a good way to effectively do something like a post of a large file. To add further complexity, I'm seeing that the Cordova File tools don't enable working with binary streams (such as audio data) across all native operating systems. 回答1: First, let me say that this should be considered as a feature request for

With a Worklight Adapter can I change the domain and port for a procedure at runtime?

不羁岁月 提交于 2019-11-28 06:57:35
问题 I am writing a worklight application and it will be connecting to a variety of backend services which will be decided by the consumer after installation. I would like to use adapters to connect the client to the backend services - but want to avoid editting and updating the adapter for each connecting user. Essentially each customer has a running server I want to connect to - however it will be running on a different port and domain for each customer. I want them to be able to pass those to

IBM Worklight 6.0 - How to include Dojo patch with pre-built Dojo layers?

只谈情不闲聊 提交于 2019-11-28 06:24:08
问题 Developing Worklight 6.0 applications with Dojo 1.9, we're encountering some page navigation problems on Galaxy SII, SIII, Note devices with running Android v4.1.2 (very common). We see these issues were resolved by Dojo patch #17164. This patch is not included in Worklight's default Dojo build. We tried to include it by placing the files in the project's dojox\mobile folder but with no effect - we guess it is being overwritten by unpatched classes during build. Is there any other way to

Cannot login to app on iOS actural Device MobileFirst Project

偶尔善良 提交于 2019-11-28 06:07:22
问题 Hi I recently had develop small sample application using IBM MobileFirst 7.1. I have successfully run app on simulator, it able to login perfectly without error but when I tested on actual device (iOS 9.2) the app failed to login here is some error log I receive 2016-02-16 15:31:39.847 YITCallCenter[3010:1041692] [DEBUG] [WL_REQUEST] -[WLRequest sendRequest:path:withOptions:] in WLRequest.m:221 :: Sending request (http://10.12.11.59:10080/YITCallCenter/authorization/v1/clients/instance) with

No Runtime can be found in Worklight Console

落花浮王杯 提交于 2019-11-28 05:52:54
问题 I am trying to set up test environemnt for worklight project. Every thing looks like started successfully without any errors , however, the worklight console says 'No runtime configuration could be found" . And I can not access my application in browser either. However, AppCenter is available. The system is set up in Redhat OS, Worklight version 6.2, DB2 as database and WS-Liberty 8.5 as server. As suggested in different SO questions, I tried cleaning up the workarea of liberty server, clean

Calling Worklight adapter from external app

那年仲夏 提交于 2019-11-28 05:04:51
问题 I have deployed the adapter on Worklight server and there is some requirement where I am calling worklight adapter from outside as a rest serverice , it is working fine and returning data as required but instead of giving json output it is giving HTML <!DOCTYPE html><html><head><meta charset="UTF-8" /><title>Invoke Procedure Result</title><script src="/secure/console/js/jquery-1.6.min.js"></script><style> textarea { width: 100%; } .textwrapper { margin: 5px 0; padding: 3px; }</style></head>

No runtime on my Worklight 6.2 Console

两盒软妹~` 提交于 2019-11-28 02:19:04
After deploying an war file in a Worklight 6.2 environment, the console doesn't show the associated runtime environment : No runtime can be found. It's a basic usage of Worklight 6.2, but I don't know how to fix it ! What I've done : Installation of Worklight Entreprise 6.2 on WebSphere Liberty 8.5.5.2 + DB2 V10.5 customisation of the configuration-liberty-db2.xml with my settings ant -f myxmlfile admdatabases ant -f myxmlfile adminstall ant -f myxmlfile databases ant -f myxmlfile install I have the worklight console in the path ~/worklightconsole but no runtime ! and in the liberty log : [6