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
5
votes
3 answers
CDI doesn't work in a simple adapter
I've added the CDI feature to the server.xml filecdi-1.2 .
My maven module contains the beans.xml inside the /src/main/resources/META-INF folder.
This is the beans.xml content:

Matteo Codogno
- 1,569
- 6
- 21
- 36
4
votes
1 answer
NullReference exception on reactivation of app before a call to a MobileFirst adapter returns
I am developing a windows phone 8 silverlight application and I am using
MFP v6.3
The following problem occurs.
If I make a call to a MobileFirst adapter and place the app in the background before that call returns, when I reactivate the app it…

Corcus
- 1,070
- 7
- 25
4
votes
2 answers
IBM Worklight - Include a JavaScript library on the server side
I'm building a mobile application using IBM Worklight. In an adapter, I need to use some functionality which is provided by a third party JavaScript file. I want to know if it's possible to include such a file on the server? If not, what is the…

Chandrahas
- 93
- 3
3
votes
1 answer
MobileFirst 8 - WLResourceRequestPlugin Error - Incorrect JWT format
I have a big issue with mobilefirst, when I try to call a protected resource I have this issue:
The issue is on Android only, iOS works…

Mejri Yassine
- 99
- 1
- 8
3
votes
1 answer
Cannot compile Java adapter using adapter-builder task (ANT) in MFP v7
We have been using the adapter-builder task (com.worklight.ant.builders.AdapterBuilderTask) to compile our MFP adapters for several weeks. We just started now adopting Java adapters in our MFP apps but we cannot compile them with the adapter-builder…

rolivieri
- 100
- 1
- 7
3
votes
1 answer
MobileFirst Platform JavaScript adapter can't get the parameters through WLResourceRequest
I'm using mobilefirst platform v7, and I send post request using the WLResourceRequest/sendFormParameters api, however, I can't get the submitted parameters from js adapter side...
belows are sample code:
var resourceRequest = new…

Phil Zhao
- 31
- 3
3
votes
1 answer
SQL Adapter Invocation failure in IBM MobileFirst
I'm trying to insert data to a database using a SQL Adapter in IBM mobilefirst platform, however my code reaches the failure function...
main.js:
function insertData(){
alert("Function InsertData called");
var fname =…

Vinod Kumar Marupu
- 547
- 6
- 21
2
votes
0 answers
Mobile First 7.1 FWLSE0376E: JWS signed ClientId signature does not match the client ID
Intermittent issue occurs, While handshake between iOS Native Application to MobileFirst 7.1.0.00.20180425-1124
Findings
Found out the "scope" query parameter is sent to the server as an empty string.
Here i am trying to WWW-authenticate, based…

Ramakrishnan M
- 482
- 1
- 6
- 16
2
votes
2 answers
IBM MFP How can I use mfpdev-cli upload (deploy) the .adapter?
How can I use mfpdev-cli upload (deploy) the .adapter?
I need upload the .zip and .adapter in my MFP project
when I call (in root folder)
mfpdev app webupdate --build
and I will get projecet.zip in MobileFirst folder
then, I call (not in root…

Tsai
- 67
- 7
2
votes
1 answer
IBM Mobilefirst error MFP-Conflict=Concurrency failure while storing user data in AdapterSecurityContext using method getClientRegistrationData
I recently found an issue with mobilefirst 8 server data storing in AdapterSecurityContext. We are storing secured user data in AdapterSecurityContext using method getClientRegistrationData under a custom security check.
It's working fine in…

parth.hirpara
- 542
- 3
- 19
2
votes
1 answer
MobileFirst 8 : Unexpected error encountered while storing data
We are using UserAuthenticationSecurityCheck to authenticate user.
If verification is successful, the MFP server will store the user attributes.
public class AuthSecurityCheck extends UserAuthenticationSecurityCheck {
static Logger logger =…

DannyYang
- 147
- 1
- 2
- 15
2
votes
1 answer
MFP 7.1 Disable Direct Update?
I have an app migrated from WL 6.1 where I used to disable in WLClient.js. I have tried to disable with the Console but I still get an update after invoking custom auth.
The app is downloaded from enterprise MF appcenter. I have seen the security…

Justin Cox
- 326
- 4
- 22
2
votes
0 answers
Unable to delete configuration with id ADAPTER_CONTENT due to exception FWLSE3208E: An invalid status code "404" was returned
We are trying deploy http adapter in mfp 8.0.0.0.210710251725 and got following error. we are using WAS ND 8.5.5.12 and follows mfp asymmetric deployment topology.
[1/11/17 23:20:44:221 IST] 000001b0 ConfigService E…

Pavan Gugale
- 21
- 1
2
votes
1 answer
Is it possible to have all the adapter configuration in one file in IBM MFP
I am using JavaScript HttpAdapter in my maven project. I have a situation where my customer expects to have more than one HttpAdapter as part of the adapter.xml file. This is something that I have not tried before.
Is it possible to have more than…

Ramesh Kumar
- 31
- 2
2
votes
2 answers
What is difference between IBM MobileFirst Platform Application Center Console and MobileFirst Foundation V8.0
What is the difference between IBM MobileFirst Platform Application Center Console and MobileFirst Foundation V8.0? Is it a separate console? I'm so confused when there are different screens in IBM MobileFirst Platform Application Center Console and…

fndong
- 81
- 2
- 11