Specify connection parameters
You have already specified the authentication with the third-party RESTful service in the XML object GenericAPIIntegrationConfig.
Set the following parameters in the GenericAPIIntegrationConnections XML element:
- <GenericAPIIntegrationConnection
- Name="MyExternalInterface"
- InstanceURL="https://thiscomponent.com"
- Proxy="None"
- Authentication="OAuth2AuthenticationForMyApp"
- Timeout="60">
- </GenericAPIIntegrationConnection>
| XML element/ XML attribute | Value | Mandatory |
|---|---|---|
| Authentication | ||
| Name | The name of the connection definition. The name is used to identify the connection definition in other parts of the configuration of the generic API integration interface. | yes |
| Authentication | The name of the authentication definition in the XML object GenericAPIIntegrationConfig that shall be used for this connection. | yes |
| Proxy | The setting depends on the use of proxies to route the connection to the third-party components connected via generic API integration. You must define the proxy parameters in the XML object separate from the connection definition.
|
no |
| Timeout | The HTTP request timeout in seconds. Only change the timeout value if problems with the default of 60 seconds occure. | no |