SAP Knowledge Base Article - Preview

2436069 - Data in Offline Application fails to appear on Android using HAT setup connected to SAP WebIDE

Symptom

A hybrid application is being developed using SAP WebIDE in combination with the Hybrid Application Toolkit.
Difficulties are encountered during the execution of the application, especially when it comes to reaching OData backend services.

In the HCPms logs following similar entries can be observed:

2.0#2017-01-05 04:48:29 PM#ERROR#RequestResponse#404##Offline#1483615109428002#912fd6b7-c4a5-4909-ae16-f71697da7701#xxxxx#com.sap.mobile.platform.server.mobilink.MLSMPLogger:error######484#####Delta refresh for an Offline OData client failed.#
#2.0#2017-01-05 04:48:29 PM#ERROR#RequestResponse#404##Offline#1483615109428003#912fd6b7-c4a5-4909-ae16-f71697da7701#xxxxx#com.sap.mobile.platform.server.mobilink.MLSMPLogger:error######484#####[-100025] An error occurred while communicating with the OData server to retrieve the result of request "https://hcpms-notanactualtrial.hanatrial.ondemand.com:443/xxxxx/$metadata".
 Error caused by: [-100010] Retrieve metadata failed because the OData server returned HTTP code, 404, with message: The requested resource does not exist.#

2.0#2017-01-06 04:53:19 PM#DEBUG#Offline##1483701799207002#bb504325-b492-4bfd-97c7-432ee2f4e15d##MobilinkAppcidFilter:doFilter######132#####Completed MobiLink adapter request. APPCID: e362fc5d-f712-4524-82ef-af4239df960a , requestURI: /MobiLink/ServletAsync, requestMethod: POST, responseStatus: 400 time since handoff(ms): 1#
#2.0#2017-01-06 04:53:19 PM#WARNING#Offline##1483701799207003#bb504325-b492-4bfd-97c7-432ee2f4e15d##MobilinkAppcidFilter:doFilter######132#####Completed MobiLink adapter request. Response code is >= 400. APPCID: e362fc5d-f712-4524-82ef-af4239df960a , requestURI: /MobiLink/ServletAsync, method POST, status 400 time since handoff(ms): 1#
#2.0#2017-01-06 04:53:19 PM#DEBUG#Offline##1483701799207001#bb504325-b492-4bfd-97c7-432ee2f4e15d##MobilinkAppcidFilter:doFilter######132#####Forwarding request to MobiLink adapter. APPCID: e362fc5d-f712-4524-82ef-af4239df960a , requestURI: /MobiLink/ServletAsync, requestMethod:


Read more...

Environment

  • SAP Cloud Platform Mobile Services for development and operations (SCPms)
  • Java 1.8 and later
  • Node.js 5.4.1 and later
  • Cordova 6.3.1 and later
  • Plugman and later
  • Kapsel cli and later
  • Apache ANT 1.9.7 and later
  • SAP Hybrid App Toolkit 1.22.2 and later
  • Android SDK API Level 19 and later
  • Kapsel plugins (Logon Manager, Offline OData)

Product

SAP HANA Cloud Platform 1.0, mobile service for development and operations, premiium edition

Keywords

HAT; SAP Web IDE; OData; HTTP 404; HTTP 200, hcpms, scpms , KBA , MOB-ONP , SAP Mobile Platform on Premise , MOB-CLD , SAP Mobile Cloud SAP Mobile Platform Cloud , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.