You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "web dodge (Jira)" <ji...@apache.org> on 2020/05/18 23:49:00 UTC

[jira] [Commented] (OLINGO-1439) Odata V4 Android - can't parse edmx

    [ https://issues.apache.org/jira/browse/OLINGO-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110722#comment-17110722 ] 

web dodge commented on OLINGO-1439:
-----------------------------------

Please some one confirm this issue is repeatable or I am missing crucial step.

> 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
>            Priority: Critical
>
> {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)