cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

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":"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.





Accepted Solutions (0)

Answers (2)

Answers (2)

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pradeep,

Please share screens of your Postman client details and the error that you get.

Regards,

Nagesh

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Vlado
Advisor
Advisor
0 Kudos

You should have better chances of getting this answered in the HCPms dedicated space: . I moved it there for you.