Import XML and EDMX files into a project
Procedure
- Open Eclipse and navigate to FileImport to open the Import>Select window.
- In the Import window, expand OgeeOData Model.
- Click Next to open the Import OData Model window.
- Choose Browse or enter the folder name in the Folder field to select a project folder for the new OData model.
- Enter a name for the model in the Model Name field
- Select either OData Metadata File or OData Service URL from the list and click Next.
- 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.
- Click Finish.
- 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.