worklight-adapters

IBM Worklight 6.1 - Adapter invocation failing in iOS 5 after upgrading to v6.1

不羁岁月 提交于 2020-01-04 05:49:09
问题 We have developed a Worklight-based Hybrid application with Native pages as well. Our start page is a native page from which we are invoking an adapter. After upgrading to Worklight 6.1, this adapter invocation is now always failing in iOS 5, however continues to function correctly in iOS 6 and iOS 7. When the adapter invocation fails, it returns raw HTML as the response: Adapter Failure Response. In Xcode Console this is the error we see: [ERROR] Worklight: -[WLRequest requestFailed:]:338:

Upgrading to Worklight 6.2

我只是一个虾纸丫 提交于 2019-12-31 04:37:08
问题 I am facing issue with upgrading to Worklight 6.2. Please find the error below: ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:750] FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197) Thanks in advance 回答1: I guess you see this when starting

IBM Worklight 6.1 - How to send post values in adapter?

放肆的年华 提交于 2019-12-31 03:22:07
问题 I'm using IBM worklight 6.1 for my mobile app project. My question is how to send post values in adapter? function getUsername(userAlias,locale) { path = "rest-rib/service/Login/login_username"; var input = { method : 'post', returnedContentType : 'json', path : path }; return WL.Server.invokeHttp(input); } Thanks a lot in advance. 回答1: Your question does not specify what is NOT working for you... please add more details. You should also read about HTTP adapters. Training module Information

Worklight - How to check if a client is already logged in, then pass the login screen

前提是你 提交于 2019-12-30 12:59:19
问题 I get the following error when I log in the second time in my login screen. [ERROR ] FWLSE0099E: An error occurred while invoking procedure [project Klappr]KlapprAuthAdapter/submitAuthenticationFWLSE0100E: parameters: [project Klappr]{ "arr": [ "dGVzdDp0ZXN0" ] } Cannot change identity of an already logged in user in realm 'KlapprAuthRealm'. The application must logout first. FWLSE0101E: Caused by: [project Klappr]null com.worklight.common.log.filters.ErrorFilter In submitauthentication (in

IBM Worklight 6.0.0.1 - Timeout setting in Adapters

依然范特西╮ 提交于 2019-12-30 07:46:49
问题 How can I change the timeout when calling from the application to the adapter using WL.Client.invokeProcedure ? I have read the answer in the following post, but it is not working: How to increase the adapter procedure timeout value in Worklight? My configuration: initOptions.js timeout: 600000 Adapter XML <procedure name="addInsertarMensaje" securityTest="wl_unprotected" requestTimeoutInSeconds="600"> Adapter invocation var timeout = 600000; var invocationOptions = { onSuccess:

Attaching cookie to WorkLight Adapter response header

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-29 02:10:09
问题 I am developing a mobile app using WorkLight 5.0.6 and I would like to attach a secure cookie to the response returned by an adapter. We are not using a WorkLight Authentication realm because we do not wish to "bind" the session to a specific WL server in a clustered production environment. We authenticate the session by calling a sign-on adapter which authenticates the user details against a back end system. As part of the response from the sign-on adapter call I would like to create a

Attaching cookie to WorkLight Adapter response header

我只是一个虾纸丫 提交于 2019-12-29 02:10:02
问题 I am developing a mobile app using WorkLight 5.0.6 and I would like to attach a secure cookie to the response returned by an adapter. We are not using a WorkLight Authentication realm because we do not wish to "bind" the session to a specific WL server in a clustered production environment. We authenticate the session by calling a sign-on adapter which authenticates the user details against a back end system. As part of the response from the sign-on adapter call I would like to create a

Re-route/Divert some WL.Client Adapter Invocation traffic to WL Server through different URL (for PCI payment and security requirements)?

风流意气都作罢 提交于 2019-12-29 02:09:23
问题 Worklight 5.0.6.1 We are having a specific requirement from our client about using a PCI Appliance from Intel (http://info.intel.com/rs/intel/images/Intel_Expressway_Tokenization_Broker.pdf) to avoid a PCI Audit for the application and server. Therefore, the Adapter calls that have something to do with payment data would need to go through this hardware appliance before hitting the worklight server. All other adapter calls should go to the worklight server directly (to not overload the

IBM Worklight 6.0 - Adapter disappears after it is deployed

雨燕双飞 提交于 2019-12-26 09:23:17
问题 I am trying to deploy multiple adapters to a Worklight Server in a production environment. When refreshing the console, the deployed adapters are missing. What is the problem? 回答1: Can you please take a look at your Worklight Server log to see if any errors are displayed. I have seen in the past similar behavior when adapter procedures relied on security-tests, but the security tests were not defined properly in the authenticationConfig.xml file on the server side. In the server log I saw the

IBM Worklight 6.0 - Adapter disappears after it is deployed

守給你的承諾、 提交于 2019-12-26 09:18:09
问题 I am trying to deploy multiple adapters to a Worklight Server in a production environment. When refreshing the console, the deployed adapters are missing. What is the problem? 回答1: Can you please take a look at your Worklight Server log to see if any errors are displayed. I have seen in the past similar behavior when adapter procedures relied on security-tests, but the security tests were not defined properly in the authenticationConfig.xml file on the server side. In the server log I saw the