Creating an OData Service
You use the Service Development perspective in Designer to create an OData service and specify the entity types, external entity types, complex types, properties, and associations.
To create an OData service
1. In the Service Development perspective, select File > New > OData Service.
2. In the New OData Service dialog box, select the folder in which you want to create the OData service.
3. In the Element name field, type a name for the OData service using any combination of letters, numbers, and/or the underscore character. For information about restricted characters, see Working with Elements. 4. Click Finish.
Alternatively, you can also click Next.
a. In the Select a Source Type screen, select Empty OData Service
b. Click Finish.
Designer creates the OData service and displays the details in the OData service editor. You must now add OData elements, specify their properties, and define the association between the entity types.
5. Click File > Save to save the OData service.
Designer creates a folder with the same name as the OData service, with a prefix of an “_” (underscore). Inside this folder, Designer creates folders for each entity type. These folders contain OData service implementations that are named _insert, _retrieve, _update, and _delete can perform the create, read, update, and delete operations for each entity.
The signatures for the OData service implementations generated by Designer contain document variables generated using the entity types and its properties. You must not modify the signature of the generated OData service implementations. You must only add processing logic to these services.