AIF global settings (form) [AX 2012]

Updated: May 7, 2011

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Use this form to specify the default behavior of all document exchanges in services and Application Integration Framework (AIF). For example, you can specify a default behavior for resource locking to validate the schemas of outbound documents and limit the lifetime of the cache for message responses. You can also specify a default encoding format, which is a code that maps characters to numeric values when data is stored or exchanged electronically.

NoteNote

Validating schemas can take a while. If you validate the schema of every outbound document, performance can be adversely affected.

  1. In the AOT, double-click Forms.

  2. Right-click the AifGlobalSettings form, and then click Open.

The following table provides descriptions for the controls in this form.

Field

Description

Maximum resource locking interval (minutes)

Set the maximum time, in minutes, that a message is locked after an adapter is committed to processing the message.

The default value is 30 minutes. The locking interval has to be modified only if you use multiple instances of Application Object Server (AOS).

Default encoding format

Set the default encoding format for the endpoint.

Valid encoding formats include UTF-8, UTF-16, UTF-16be, and GB18030. GB18030 supports the Chinese character set.

Validate outbound schema

Select this check box to compare all outbound documents to their schemas. Validating schemas can increase the time that is required to transfer documents.

Response cache lifetime (hours)

Enter the time, in hours, that message responses are cached.

The default value is 24 hours. Message responses are cached only for service operations that are idempotent.

Enable runtime caching

Select this check box to cache the AIF metadata at run time. For example, the cache contains metadata about methods and parameters that are available for a particular class.

We recommend that you select this check box in production environments but deselect it during development.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

Show: