on 04-13-2016 1:29 PM
Hi
I am trying to connect to use a HANA XS JS Service as a backend for a Android Hybrid/Native application.
I am following the process explained here -
I am able to consume the service in SAP WebIDE.
Next I created an Application in HCPms , and added the url from above process. I am able to ping successfully.
However Registration from POST and register.html is failing. I even tried POST in POSTMAN. it fails everytime
See the Error Log below
{"message":"HTTP request failed","request":{"headers":{"Authorization":"Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxx","X-SMP-APPCID":"com.xxxxxx.xxxxxx","Accept":"application/atomsvc+xml;q=0.8, application/json;odata=fullmetadata;q=0.7, application/json;q=0.5, */*;q=0.1","DataServiceVersion":"1.0","Content-Type":"application/json","MaxDataServiceVersion":"3.0"},"requestUri":"https://hcpms-xxxxxxxxx.hanatrial.ondemand.com:443/com.xxxxxxx.xxxxxx","data":{"DeviceType":"Windows"},"method":"POST","recognizeDates":false,"callbackParameterName":"$callback","formatQueryString":"$format=json","enableJsonpCallback":false,"inferJsonLightFeedAsObject":false,"body":"{\"DeviceType\":\"Windows\"}"},"response":{"requestUri":"https://hcpms-xxxxx.hanatrial.ondemand.com:443/com.xxxx.xxxxx","statusCode":404,"statusText":"Not Found","headers":[],"body":"
I have double verified that the APPCID is present as an app in HCPms and the spelling is also correct.
Any help will be appreciated.
Hi Pradeep,
Please share screens of your Postman client details and the error that you get.
Regards,
Nagesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the below details for registration, Hope it helps to solve the your registration issue.
Use your HCPms and App ID in the url correctly,
Eg: https://HCP:Port/odata/applications/latest/APP ID/Connections
Regards,
Nagesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
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.