CentraSite Documentation : Working with the CentraSite Business UI : OData Service Management : Creating OData Services : Creating an OData Service using EDMX File from the UI
Creating an OData Service using EDMX File from the UI
Before you begin, you must have the EDMX specification file that you want to import to create an OData service in the CentraSite registry.
To create a new OData service Using EDMX file
1. In the activity bar, click Create Asset. This opens the Create Asset wizard.
2. In the Basic Information profile, enter the following information in the fields provided:
In this field...
Do the following...
Name
Optional. Enter a name for the new OData service.
Note:  
An OData service name does not need to be unique. However, to reduce ambiguity, we recommend that you adopt appropriate naming conventions to ensure that the OData service is distinctly named within an organization.
If you have not specified a name for the OData service, CentraSite automatically populates the Name field with the data extracted from the service URL or the EDMX file name.
Type
Choose OData Service asset type.
Organization
Select the organization in which the new OData service will be created. (The drop-down list displays the list of organizations in which you are permitted to create assets.)
Version
Optional. Specify a version identifier for the new OData service.
Description
Optional. Enter a description for the new OData service.
Note:  
This is the description information that users will see when they view this OData service in the user interfaces. Therefore, we recommend that you specify a meaningful description for each OData service.
Import a File
Specify whether the input EDMX file will be read from a URL-addressable location on the network (the URL option) or from your local file system (the File option).
Parameter
Description
URL
If the EDMX file you are importing resides on the network, you can specify the service URL or the metadata URL, for example, http://services.odata.org/V4/TripPinService/$metadata.
File
If the specification resides in your local file system, specify the file name. You can use the Browse button to navigate to the required folder.
3. Expand the Advanced Settings node. Enter the following information:
In this field...
Do the following...
Credentials
If you have specified a URL and the site you want to access via the URL requires user authentication, enter a username and password for authentication at the URL site.
4. Click Next.
You will not be allowed to move to the next screen unless all of its required parameters have been set.
5. After you specify the value for all of the required attributes, click Save to create the new OData service with EDMX definition.
6. Configure the OData service’s extended attributes as described in Viewing or Modifying Details of an OData Service.
Tip:  
If you had previously imported an EDMX file that has an associated schema file and you now re-import just the schema file with modifications, your browser might not display the updated contents of the schema file. This can happen if the browser cache is not being updated automatically. To rectify the problem, you can change your browser settings so that pages are always updated on every visit.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback