Skip to Content
avatar image
Former Member

OData V2 backends

I used the assistant to create template for the application using my own backend that is generated by Olingo V2 (using JPA processing extension)

Is it possible to create iOS application with SDK using OData V2 metadata as template for generation of framework for OData?

I got this error:

It seems that the given metadata is invalid.Error Domain=SAPOData Code=0 "CSDLError: Invalid identifier character '.' in EntityContainer Name="com.sap.minutes.backend.modelContainer". See the definition of TSimpleIdentifier in the OData EDM XML Schema (http://docs.oasis-open.org/odata/odata/v4.0/os/schemas/edm.xsd)." 
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 04, 2017 at 02:09 PM

    Vladimir,

    The error is quite descriptive of the problem - '.' is not a valid character for names of entity containers; please change his in your metadata and everything should be fine.

    Thanks

    Andreas

    Add comment
    10|10000 characters needed characters exceeded

    • Manikandan,

      You're right - the UI5 libraries are a lot less strict in validating the OData backend. Technically, the backend is still producing invalid metadata and this should be adjusted. However, we've seen this problem often enough now, so we're also planning on some changes to SAPOData to react more 'flexibly' in these cases, and be more tolerant where possible.

      Thanks
      Andreas