Tag Archives: Odata plugin


Installing Ogee Data Modeler for Eclipse to Connect to Odata Services

Working with Odata services in Eclipse can be accomplished in a number of ways.  One option available is to use an Eclipse plugin called Ogee.  You can read more about Ogee here – http://www.odata.org/blog/eclipse-ogee/, but this article is to show you how to install it into Eclipse.  First off, I am running Eclipse 4.5.2 (Mars).

First, we need to install the Ogee Eclipse plugin for modeling OData. While in Eclipse, go to “Help” – and then “Install New Software”. Next, you will see the following screen:


In the “Work with” field, put in the following url:

http://download.eclipse.org/ogee/updates2/0.7.0/ and then click the “Add” button, and you will see the following screen:


And then choose “OK” and after a brief few seconds, you will see the following option:



Choose “Next” to install the software and then you will see a progress bar as the software installs:


Lastly, you will need to restart Eclipse for the final installation to take place:


Now that we have installed the plugin, the next step is to connect it to an Odata service url or a data model that you have present on your PC. Do the following steps:

In Eclipse, choose “File -> New -> Other” and then the Ogee Odata Model option:


Then choose a name for your data model. The folder option can be a bit misleading, that is actually a project folder area. So if  you have not setup a project for this, you would need to have a new Eclipse project. In this case, I had setup an SAP UI 5 demo project:


Then I had saved off a services file to my desktop in an XML file to use as the source for the data model. You can do the same, if you go to your Odata service url and then connect to your service and append the term “$metadata” to the end of your url such as this:


jpsap is my server name hosting my Odata service.  Then put that url in your web browser and save off a file to your PC and then you can choose to upload it. You can also choose the Odata service url if you like.


After choosing “Finish”, you can see the flight data model in your project:


And that’s all there is to installing and using the plugin. I hope you enjoy this and it helps you.