[ https://issues.apache.org/jira/browse/OLINGO-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136329#comment-15136329 ]
VIJAYASIMHA R NAGA edited comment on OLINGO-861 at 2/9/16 4:25 AM: ------------------------------------------------------------------- Thanks Ramesh, This fix handles reading references in the Edmx file, but unable to resolve the usage of types or inherit from those defined in the reference Edmx, this results in failure when attempt is made on the metadata url Attached a file "ServiceRoot.xml" that I've used to evaluate this, please take a look at that. While trying to get the metadata, I encounter this error "Cannot find base type with name: Resource.1.0.0.Resource for entity type: ServiceRoot" - the type "Resource" has been defined in a reference file from URI "http://redfish.dmtf.org/schemas/v1/Resource.xml" under the namespace "Resource.1.0.0" Please let me know if you need any other details was (Author: nvsreddy): Thanks Ramesh, This fix handles reading references in the Edmx file, but unable to resolve the usage of types defined in the reference, attached a file "ServiceRoot.xml" that I've used to evaluate this, please take a look at that. I encounter this error "Cannot find base type with name: Resource.1.0.0.Resource for entity type: ServiceRoot" the type "Resource" has been defined in a reference file from URI "http://redfish.dmtf.org/schemas/v1/Resource.xml" under the namespace "Resource.1.0.0" > MetaDataParser unable to build EdmProvider from Edmx files with references > -------------------------------------------------------------------------- > > Key: OLINGO-861 > URL: https://issues.apache.org/jira/browse/OLINGO-861 > Project: Olingo > Issue Type: Bug > Components: odata4-server > Affects Versions: (Java) V4 4.1.0 > Reporter: VIJAYASIMHA R NAGA > Assignee: Ramesh Reddy > Fix For: (Java) V4 4.2.0 > > Attachments: ServiceRoot.xml > > > Unable to build an EdmProvider from Edmx files with references to external > name spaces, (Method "readReference" in MetaDataParser.java from > server-core-ext library has a TODO remark to deal with this) > Ex: Having the below reference included in an Edmx file <edmx:Reference > Uri="http://docs.oasis-open.org/odata/odata/v4.0/cs01/vocabularies/Org.OData.Core.V1.xml"> > <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> </edmx:Reference> -- This message was sent by Atlassian JIRA (v6.3.4#6332)