SAP OData policy
A SAP OData policy contains the connection details that are used by a SAP OData Request node when connecting to SAP OData.
You can use a SAP OData Request node node in a message flow to connect IBM® App Connect Enterprise to SAP OData and issue requests to create, retrieve, update, and delete objects. The SAP OData policy controls, at run time, the access to the SAP OData resources.
The SAP OData policy is created when you configure a connection between a SAP OData Request node and SAP OData by using the Connector Discovery wizard. During the
process of discovery, account credentials are stored in the vault and connection details are stored
in a SAP OData policy. The policy is created with a type of SAP OData
, and the name
of the policy is returned to the SAP OData Request node and
specified in the Connection tab of the node, in the format
{policyProjectName}:policyName
.
You can also create, update, or delete a SAP OData policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking .
You must deploy this policy before message flows that use the policy are started. If you redeploy a SAP OData policy, all message flows that are using the policy will be stopped and restarted.
For more information about using SAP OData policies, see Using SAP OData with IBM App Connect Enterprise.
Property | Property name in .policyxml file | Description of properties |
---|---|---|
Credential Name | credentialName | This property specifies the name of the credential that will be used for the
connection to SAP OData. The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider. |
SAP Gateway Service URL | endpointUrl | This property specifies the URL of the SAP gateway service. |
SAP OData Authentication Method | authenticationMethod | This property is reserved for future use and must be set to the value
BASIC . |
SAP OData Application Type | applicationType | This property is reserved for future use and must be set to the value
onprem . |
SAP OData Application Version | applicationVersion | This property is reserved for future use and must be set to the value
v1 . |