on 09-02-2015 7:10 AM
Hi All,
I have created a hybrid offline app and deployed to emulator. On click of "register" button, i am getting an error
"Check your connection data". Registration failed pop up message. I have given the required details in index.html
var context = {
"serverHost": "hcpmsadmin-pxxxxxxtrial.hanatrial.ondemand.com", //Place your SMP 3.0 server name here
"https": "true",
"serverPort": "443",
"user": "pxxxxxxx", //user name for registration and the OData Endpoint
"password": "xxxxxxxx", //password for registration and the OData Endpoint
//once set can be changed by calling sap.Logon.changePassword()
"communicatorId": "REST",
"passcode": "password", //note hardcoding passwords and unlock passcodes are strictly for ease of use during development
//once set can be changed by calling sap.Logon.managePasscode()
"unlockPasscode": "password",
"passcode_CONFIRM":"password",
"ssoPasscode":"Password1"
};
Rest Client - If i use the url,i am getting a status code 200.
Attaching screen shot.
Is there anything other configuration i am missing? How can i resolve the error in emulator.
Please help.
Thanks,
Divya
serverHost": "hcpmsadmin-pxxxxxxtrial.hanatrial.ondemand.com
use hcpms instead of hcpmsadmin
username: scn userid
password: scn pswd
You can also try on-boarding of the device from REST client but with POST method
On-Boarding a user on HCPms (HANA Cloud Platform mobile Services)
Regards,
JK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra,
Should i use "hcpms" in index.html "smpServerHost".
When i try
I am getting Status - 200.
How will i get a status 201.
Attaching screen shot. Please help.
Thanks,
Divya
User | Count |
---|---|
90 | |
23 | |
11 | |
9 | |
9 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.