OData Service Binding
OData Service Binding provides external connectivity for OData over HTTP. It supports QUERY, READ, CREATE, UPDATE and DELETE operations. It also supports JSON and XML message types.
Binding
This section has the following fields.
Field | Description |
---|---|
Resource Name | The name of the resource. |
Resource Path | This field is used to customize the OData URL.
The default Resource Path is '/' when a new OData Service is created. The Resource Path should end with a '/'. On providing the Resource Path, it is reflected in between the application name and resource name of the endpoint URL. For example, http://<hostname>:<port_name>/<application_name>/<Resource_Path>/<Resource_name> |
Entity Container Schema | Value for the schema namespace of the entity container. |
Entity Set Name | The name of the entity set. |
Include in Service Document | Indicates that the boolean value of the entity set is advertised in the service document. If the value is set to false, then the Entity Set is not present in the metadata file. By default, the check-box is selected. |
HTTP Connector Name | The name of the HTTP Connector.
By default, a new HTTP Connector Shared Resource is created when you create a new OData Service binding. Change the field value type to Module Property to specify a module property that has been defined as an HTTP Connector Shared Resource. |
Response Client Format | The type of response message format.
The supported response message formats are JSON or XML. |
Resource Schema | Displays the schema selected. |
Entity Type
This section has the following tabs.
Field | Description |
---|---|
Entity Type Name | The name of the entity type. |
Base Type | Select the Base type property of an entity. It is the name of an Entity Type where all properties and keys of the parent Entity Type (Base Type) are inherited by this Entity Type. |
Open Type | Select the check-box for Open type property of an entity. It indicates the Flag, if the Entity Type is Open. An open type allows clients to add properties dynamically to instances of the Entity Type by specifying uniquely named values in the payload which is used to insert or update an instance of the Entity Type. |
Operation Details
This section has the following tabs.
Policies
To associate a new or existing policy with the OData Service, click
Policies node under the
OData Service tree, then click
Add Policy to create a new policy. To edit an existing policy details, click the policy name and edit any of the following fields.
Field | Description |
---|---|
Policy Name | The name of the policy. |
Policy Type | The type of policy associated with the binding. The OData Service binding supports the Basic Authentication policy. For more information, see Enforcing Basic Authentication. |
Description | A description of the policy. |