blob: 8d047402dbb587b7ef57745b3f125112e0ad72bb [file] [log] [blame]
<title></title>
<div id="wrapper">
<div id="container">
<h1 class="title topictitle1">Creating an OData Model Using Service URL</h1>
<div class="body taskbody">
<p class="shortdesc">&nbsp;</p>
<div class="section context" id="loio60eb920cc2a240fc80c95c19d6c92bce__context_N10015_N10012_N10001">
<div class="tasklabel">
<h2 class="sectiontitle tasklabel">Context</h2>
</div>
<p class="p">To create an OData model using a service metadata URL proceed as follows:</p>
</div>
<div class="tasklabel">
<h2 class="sectiontitle tasklabel">Procedure</h2>
</div>
<ol class="ol steps" id="loio60eb920cc2a240fc80c95c19d6c92bce__steps_r4g_kmp_mj">
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N10045_N10042_N10012_N10001"><span class="ph cmd">Create a project as outlined in the <a class="xref" href="Creating a Project.html" title="Creating a project">Creating a Project</a> section. </span></li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N1004E_N10042_N10012_N10001"><span class="ph cmd">Right click on the project in the Project Tree region, and select <span class="ph menucascade"><strong><span class="ph uicontrol">New </span></strong><span class="ph uicontrol">and&nbsp;</span><strong><span class="ph uicontrol">Other</span></strong> </span>.</span>
<div class="itemgroup stepresult">The <strong><span class="ph emphasis emphasis">Select a Wizard</span></strong> window displays.</div>
</li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N10067_N10042_N10012_N10001"><span class="ph cmd">Locate <strong><span class="ph emphasis emphasis">Ogee</span></strong> folder, expand it and select <strong><span class="ph emphasis emphasis">OData Model</span></strong>. </span></li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N10078_N10042_N10012_N10001"><span class="ph cmd">Click <strong><span class="ph emphasis emphasis">Next</span></strong> to proceed.</span>
<div class="itemgroup stepresult">
<p class="p">The <strong><span class="ph emphasis emphasis">Create New OData Model </span></strong>window appears.</p>
</div>
</li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N10091_N10042_N10012_N10001"><span class="ph cmd">Choose <span class="ph emphasis emphasis"><strong>Browse</strong> </span>or enter the folder name in the <strong><span class="ph emphasis emphasis">Folder</span></strong> field to select a project folder for the new OData model.</span></li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N100A2_N10042_N10012_N10001"><span class="ph cmd">Enter a name for the model in the <span class="ph emphasis emphasis">Model name</span> field.</span></li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N100AF_N10042_N10012_N10001"><span class="ph cmd">Select <span class="ph emphasis emphasis">OData Service URL</span> from the list and click <strong><span class="ph pname">Next</span></strong>. </span>
<div class="itemgroup stepresult">The New OData model from remote source window appears.</div>
</li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N100C8_N10042_N10012_N10001"><span class="ph cmd">Enter the service URL of the service to be imported in the <strong><span class="ph emphasis emphasis">Service URL</span></strong> field and click <strong><span class="ph emphasis emphasis">Go</span></strong>.</span>
<div class="itemgroup stepresult">On providing a valid URL the service will be populated in the<span class="ph emphasis emphasis"> Service details</span> region of the window.</div>
</li>
<li class="li step stepexpand" id="loio60eb920cc2a240fc80c95c19d6c92bce__step_N100D9_N10042_N10012_N10001"><span class="ph cmd">Click <strong class="ph b">Finish</strong>.</span>
<div class="itemgroup stepresult">
<p>The selected file is converted to OData service and displayed in the OData Model Editor. All the sections in entities open up in a expanded state for editing.</p>
<p><strong><span class="notetitle">Note</span></strong> The errors in the imported model are indicated by the error icons. The <span class="ph emphasis emphasis">Problems</span> tab view in the properties view displays the existing errors in the service.</p>
<p class="p">The service is now ready to be edited and will be stored under the selected folder in the Project Explorer.</p>
</div>
</li>
</ol>
</div>
</div>
</div>