Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
(Java) V4 4.7.1
-
None
-
None
-
Latest Android Studio api 29
Description
Hi,
I am trying to create a sample test android app using (Olingo-OData-Client-for-Android-4.7.1-lib). Just a simple skeleton activity with 1 AsyncTask to run the method:
Edm edm = client.getRetrieveRequestFactory().getMetadataRequest(mServiceRoot).execute().getBody();
-> mServiceRoot = "https://services.odata.org/Experimental/OData/OData.svc/"
I have tried many different variations and all I get is "Could not parse as Edmx document".
With browser it looks fine so why can't Olingo parse the metadata? I could be missing something critical but can't find any reference to this issue anywhere.
i.e.
"<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ODataDemo">
<EntityType Name="Product">
<Key>
<PropertyRef Name="ID"/>
</Key>......................"
Thank you, Web