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
0 answers
IBM MPF8.0 409 Response from Push Tag POST
In a Java adapter when we create a new tag using Push Tag (POST) we always get a "The target resource 'PushTag' already exists" 409 response and an error in the log even though the new tag is successfully created
Is this a known issue? Is there a…

Michael Thompson
- 21
- 4
1
vote
2 answers
Cordova MFP plugin
I am working on a project which require IBM MobileFirst as an integral part of the application so, trying to invoke the function Wl.send(), to make a connection to the database but seems in the new cordova-plugin-mfp it has been deprecated,
please…

Manish Prajapati
- 13
- 5
1
vote
1 answer
Is there have any API to reset the adapter successStateExpirationSec?
I defined a security check adapter and configured the property which is shown below.

cnz81
- 694
- 1
- 6
- 15
1
vote
1 answer
MobileFirst 7.1 javascript adapter - how to read clob data?
function getUser(userId) {
var obj = {};
var resultSet = WL.Server.invokeSQLStatement({
preparedStatement: getUserSQL,
parameters: [userId]
});
obj = {
name: result.resultSet[0]['NAME'],
image:…

Heliandro
- 11
- 3
1
vote
2 answers
WLResourceRequest is not defined
I have created a sample project where I am trying to hit a service which gives the Latitude and Longitude of a particular location. I have already deployed the adapter on the server and now I am trying to hit the adapter. When I try to do so, I get…

Kush Thapar
- 29
- 3
1
vote
2 answers
IBM Mobilefirst Java Adapter to connect Couchbase
Can we connect to Couchbase DB thorugh Mobilefirst 8 Java OR Javascript SQL adapter? Please suggest alternative option if available.

Lalit W
- 55
- 8
1
vote
1 answer
MobileFirst 8.0 - Issue integrate Security Check Adapter with javascript HTTP Soap Adapter
Good Day,
I have modified two adapters, one is with Security Check - UserLogin Adapter, and another one is HttpAdapterJs (Javascript adapter) , HttpAdapterJs are work fine when i tested in Swagger (soap service).
when I called the Adapter…

fndong
- 81
- 2
- 11
1
vote
1 answer
ionic IBM MobileFirst platform 8.0 sqladapter ReferenceError: WL is not defined
this is my service.js,using Wl.Client.invoke,dont know which files i am missing ,do i need wlinit.js or initoptions.js or do i need to install any plugin
.factory('loginservice', function(){
var user;
return{
…

Harsh Agrawal
- 13
- 2
1
vote
3 answers
MFP8.0 Adapter deploy failed
We updated our Developer Kit and QA environment to product version 8.0.0.00-20170220-1900. We try to build the adapters and deploy the adapter to remote server using MFP CLI. But the deploy to server is failed with MAVEN plugin error.
Logs:
[INFO]…

Ragu
- 402
- 1
- 4
- 18
1
vote
0 answers
IBM MobileFirst platform adapter deployment failed. Missing JMS spec classes in the classpath
I created a new JMS adapter in my IBM MobileFirst platform project following the instructions at the IBM Documentation
I copied the Jars in the server/lib folder, added them to the build path and made changes to the adapter implementation.
But when…

ChandrasekarG
- 1,384
- 13
- 24
1
vote
1 answer
IBM MobileFirst Platform - Get Confidential Client Token from Adapter
I am developing an iOS app using IBM MobileFirst Platform 8.0 that have push notification capabilities
I have manage to send notification via postman, the process was
Obtaining a token from mobile first platform server
Send to notification via rest…

Chris
- 612
- 2
- 9
- 23
1
vote
1 answer
WLResourceRequest result - difference between responseText and responseJSON
I've spent a couple of hours trying to find out why I only get one row out of many in backend.
The backend is easy enough, it just returns 5 mock JSON objects.
Here is my code to call the IBM MobileFirst platform 8 adapter:
var request = new…

gixen
- 279
- 4
- 20
1
vote
1 answer
Send data from application to IBM Bluemix http javascript adapter
I'm actually using IBM Bluemix http JavaScript adapter to post data to a cloudant database. In adapters I'm basically giving path of my 'API Connect' sevice post api through which I want to post and update my JSON data into cloudant data from my…

Alok
- 49
- 2
- 10
1
vote
1 answer
ibm mobilefirst Adapter - convert JSONObject to POJO class
Anyone knows - How to convert JSONObject to POJO class?
I have created an Adapter which i would like to convert it to Pojo before i send it to Client.
1) my ResourceAdapterResource.java…

fndong
- 81
- 2
- 11
1
vote
0 answers
IBM MFP v8: NullPointerException while calling Java Adapter from Java Adapter
My MFP Version is 8.0.0-2017012016.
When I am trying to call a Java Adapter from other Java Adapter, it is always throwing NullPointerException at the line:
HttpResponse response = adapterAPI.executeAdapterRequest(req);
What I have done is create…

Mohammad Ashfaq
- 1,333
- 2
- 14
- 38