Hi,
Created a user in SCC ex:midhun and activation code :123.
SUP version 2.1.3
From the android native application when I pass the credentials I am getting the error "MMS authentication failed".
But I am able to login using the SCC login credentials (supAdmina and s3pAdmin) from the application
Given below is the code I used;
try {
ConnectionProperties connProps = app.getConnectionProperties();
connProps.setServerName(HOST);
connProps.setPortNumber(PORT);
//connProps.setActivationCode(PASSWORD);
PurchaseOrderApprovalDB.setApplication(app);
LoginCredentials loginCredentials = new LoginCredentials(
USERNAME, PASSWORD);
connProps.setLoginCredentials(loginCredentials);
if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {
//Getting exception during the below code
app.registerApplication(600);
} else {
app.startConnection(600);
}
} catch (Exception e) {
returnMsg = e.getMessage();
}
I have redeployed the app several times and tested but didn't work.
Please give a solution