Importing an OData Model

Import XML and EDMX files into a project

Procedure

  1. Open Eclipse and navigate to FileImport to open the Import>Select window.
  2. In the Import window, expand OgeeOData Model.
  3. Click Next to open the Import OData Model window.
  4. Choose Browse or enter the folder name in the Folder field to select a project folder for the new OData model.
  5. Enter a name for the model in the Model Name field
  6. Select either OData Metadata File or OData Service URL from the list and click Next.
  7. Do the following in the next page based on your selection:
  • OData Metadata File- Enter the path to access the edmx or xml file, or click Browse to choose the file from the system and click Go. On selection of a valid file the contents of the file will be populated in the Service details region of the window.
  • OData Service URL- Enter the service URL of the service to be imported in the Service URL field and click Go On providing a valid URL the service will be populated in the Service details region of the window.
  1. Click Finish.
  2. The selected file is converted to an OData service and displayed in the OData Model Editor. All the sections in entity element open up in a expanded state for editing.
    The service is now ready to be edited and will be stored under the folder selected in the Project Explorer.