Skip to Content
0
Former Member
Mar 10, 2015 at 10:35 AM

android native application for Odata online and offline application xml parser issue

28 Views

Hi,

Am developing android native application which is going consume odata service , which i have already created and I could register LDAP user id on the server. But when am trying to access the data it shows the xml parser exception. The exception as follows

javax.xml.parsers.ParserConfigurationException: http://xml.org/sax/features/external-general-entities

at org.apache.harmony.xml.parsers.DocumentBuilderFactoryImpl.setFeature(DocumentBuilderFactoryImpl.java:101)

at com.sap.smp.rest.SMPParser.parseXmlFile(SMPParser.java:24)

at com.sap.smp.rest.UserManager.onSuccess(UserManager.java:643)

at com.sap.mobile.lib.request.RequestManager$SuccessObject.execute(RequestManager.java:795)

at com.sap.mobile.lib.request.RequestManager$SuccessThread.run(RequestManager.java:846)

If sombody has done please share how to register the connection and getting data using odata service and stored it on device. Later on the user can sync whenever he required.

Regards

Sathiya

Tags edited by: Jitendra Kansal (Moderator)