Skip to Content
Former Member
Apr 13, 2016 at 12:29 PM

HCPms Registration fails - HANA OData Service as backend - HTTP Status 404 - Application connection is not found



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 - How to consume a HANA XS service on the HANA Trial landscape

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

HTTP Status 404 - Application connection is not found

{"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":"","data":{"DeviceType":"Windows"},"method":"POST","recognizeDates":false,"callbackParameterName":"$callback","formatQueryString":"$format=json","enableJsonpCallback":false,"inferJsonLightFeedAsObject":false,"body":"{\"DeviceType\":\"Windows\"}"},"response":{"requestUri":"","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.