OData Services (Magic xpi 4.9)
OData services contain the following parameter:
|
|
Namespace
|
The namespace value gives uniqueness to the OData entries and should be unique across all OData services exposed by Magic xpi.
|
OData services also give the following buttons:
|
|
Entities
|
Click this button to open Entities Editor and define the OData service's Data Structure. For more information, click here.
|
Load Service XML
|
Magic xpi gives an option to the user to create a new OData service by loading the existing metadata from a file. The metadata file should be OData V4 compliant.
To select an XML file containing the OData service metadata, click Load Service XML in the OData Service dialog. This button will be disabled, if the service has already been created and the metadata XML for this service exists.
(Since version: 4.9)
|
|
Service Metadata File Limitations:
The Magic xpi OData Provider supports only a single schema and a single namespace. If the service metadata XML file contains multiple schemas with different namespaces, then Magic xpi will put all the referenced objects into a single schema while loading the metadata.
As per the OData V4 specification, there should be one and only one entity container in the metadata definition. So file with multiple entity containers will be considered invalid.
|