web dodge created OLINGO-1439:
---------------------------------

             Summary: Odata V4 Android - can't parse edmx
                 Key: OLINGO-1439
                 URL: https://issues.apache.org/jira/browse/OLINGO-1439
             Project: Olingo
          Issue Type: Bug
          Components: odata4-client
    Affects Versions: (Java) V4 4.7.1
         Environment: Latest Android Studio api 29
            Reporter: web dodge


{color:#222222}Hi,{color}
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.
"{color:#000000}<edmx:Edmx{color}{color:#000000} 
xmlns:edmx="[http://docs.oasis-open.org/odata/ns/edmx]"{color}{color:#000000} 
Version="4.0"{color}{color:#000000}>{color}
<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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to