Adapters are the server-side code of applications that are deployed on and serviced by IBM® MobileFirst Platform Foundation (formerly IBM Worklight Foundation). Adapters connect to enterprise applications (otherwise referred to as back-end systems), deliver data to and from mobile applications, and perform any necessary server-side logic on this data.
Questions tagged [mobilefirst-adapters]
518 questions
1
vote
1 answer
How to pass json array object from one javascript adapter to another javascript adapter?
We're using MobileFirst Foundation 8.0.0.00-20160822-2140 deployed to WebSphere Application Server V8.5.5.5.
How to pass json array object from on javascript adapter to another javascript adapter?
How to pass json array object with Apostrophe from…

user1872384
- 6,886
- 11
- 61
- 103
1
vote
1 answer
IBM Mobilefirst 7.1 analytics logging
I am using Mobilefirst 7.1 with Java adapters .I have read through the documentation for this version for operational analytics. The MFP sends the server generated logs automatically to analytics.
I see there are client apis for analytics logging,…

user3008412
- 17
- 3
1
vote
2 answers
IBM MobileFirst Foundation 8.0 POST resource request in javascript is not working
I have a problem in in MobileFirst Foundation 8.0 where the parameter in a POST request is not captured in the adapter, but in a GET request the parameter is working fine.
Example for GET request
var url = "/adapters/samplePOST/unprotected/";
var…

Deena117
- 11
- 2
1
vote
1 answer
mobile foundation adapter logs not available on bluemix
I am using the IBM Mobile Foundation Bluemix service. I have a JavaScript HTTP adapter that has some log statements using MFP.Logger.info(). When I hit my adapter with Swagger, cURL, or the application, I can never see these logs. When I look in…

MBillau
- 5,366
- 2
- 28
- 29
1
vote
3 answers
How to Pass Parameters to JS HTTP Adapters in MobileFirst 8
Adapter JS
function getCitiesByCountry(countryName)
{
var request =
var request=
…

Janaki Narayanan
- 523
- 6
- 24
1
vote
2 answers
RSA encryption technique implemetation in Worklight mobile application
We are developing a banking mobile application using MobileFirst V7.1. As it is a banking mobile application security matters more the sensitive data from mobile client to MobileFirst server trasnferred securely. hence the data should be encrypted…

Karthik_Chinna
- 17
- 5
1
vote
1 answer
Call REST WebServices via HTTP Adapter MFP 7.1
We are developing IONIC App using MFP7.1. We are trying to call REST webservice to get some data using HTTP Adapter.
I have the following adapter implementation file,
function getFeed(username,password) {
var data = {
"username" : username,
…

S.M.Priya
- 354
- 4
- 15
1
vote
1 answer
Unable to call adapter procedure in MobileFirst V8.0 Consumer Edition
I am using MobileFirst V8.0 Consumer Edition. I have setup a test server for my app. When I am calling the adapter procedure(which is protected by the security check) from the mobile app I am getting below error in the server:
[8/25/16 15:10:08:879…

Prerak Tiwari
- 3,436
- 4
- 34
- 64
1
vote
2 answers
How to implement server session validation scenario in MobileFirst 8?
I have a problem with the following scenario using MobileFirst HTTP javascript adapters:
let's say the adapters call 2 methods,
login, that calls a back end service which authenticates the user and also returns a customer_id (input: a username and…

papakias
- 2,925
- 3
- 13
- 20
1
vote
1 answer
Configuration with id 'ADAPTER_CONTENT' for schema 'mfp_default_schema' with version '1.0' not found
I am trying to deploy an JavaSQL Adapter with Hikari Pool using MobileFirst Foundation 8.0 and Postgres 9.5
On deploying, I get the following in the log:
[ERROR ] FWLSE0321: State change failure. Caused by: java.lang.RuntimeException: User code…

dhiraka
- 817
- 6
- 13
1
vote
1 answer
MobileFirst - JavaScript Adapter calling Java Adapter via REST endpoint
This question is related to - [How to invoke Java adapter from HTTP adapter? ][1]
I have 2 adapters in my MobileFirst 7.1 project :
A Java Adapter that is exposing Rest Endpoint.
A JavaScript adapter will call the Java Adapter via Rest Endpoint…

Charlie Yau
- 11
- 3
1
vote
2 answers
How to get Active User information in MobileFirst 8 Java Adapters?
I have defined a UserLogin security check extending the UserAuthenticationSecurityCheck class. Once the user is authenticated I need to set some attributes when creating the user in the protected AuthenticatedUser createUser() function in order to…

Maria Borbonés
- 153
- 1
- 1
- 12
1
vote
1 answer
Calling setActiveUser throws error
I am trying assign a userid to user and I am getting error . I am following as steps below.
server details.
com.worklight.integration.auth.AdapterAuthenticator
…

Rahul
- 217
- 1
- 9
1
vote
1 answer
What happens if we call two WLResourceRequests parallel in android native code.(IBM MobileFirst)
I am using WLResourceRequest to call a server component in android .It works fine but I have question here what happens if I fire second service call while the first service call is still running.
Will both run Parallel?
I am using the following…

Rahul
- 217
- 1
- 9
1
vote
1 answer
How to define the MFP javascript adapter for the working poster REST call?
I want to write a MFP adapter (v8) which communicate with a Web-Server.
The server waits for a parameter image containing image information.
The mobile client implementation is in ionic cordova.
First I did a check in the Poster which is the right…

Thomas Suedbroecker
- 454
- 6
- 23