Microsoft Dynamics AX 2012 Connector Reference | MuleSoft Documentation
# Microsoft Dynamics AX 2012 Connector Reference
Microsoft Dynamics AX 2012 Connector v2.0
Release Notes: Microsoft Dynamics AX 2012 Connector Release Notes
## Default Configuration
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
The name for this configuration. Connectors reference the configuration with this name.  
Connection |  Gateway Username Password | The connection types that can be provided to this configuration.  
Expiration Policy |  ExpirationPolicy | Configures the minimum amount of time that a dynamic configuration instance can remain idle before the runtime considers it eligible for expiration. This does not mean that the platform expires the instance at the exact moment that it becomes eligible. The runtime actually purges the instances as it sees fit.  
## Gateway Username Password Connection Type
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Disable SSL Certificate validation | When dealing with HTTPS certificates, if the certificate is not signed by a trusted partner, the server might respond with an Exception. To prevent this it is possible to disable the CN (Common Name) check. Note: this is not recommended for production environments.  
Gateway Router Service Address | The address of the gateway service that routes the requests to the CRM instance (`https://mygateway.com/router`).  
Aos Endpoint Port | For overriding the port returned in the Service’s WSDL.  
Connection Timeout | Used to set connection timeout for connector requests. This optional value is in milliseconds (0 for unlimited timeout).  
Receive Timeout | Use to set receiving timeout for connector requests. This optional value is in milliseconds (0 for unlimited timeout).  
Sets the company to use within all calls (this setting can be overridden using the 'dynamicsax.callcontext.company' outbound property).  
Language | Sets the language to use within all calls (this setting can be overridden using the 'dynamicsax.callcontext.language' outbound property).  
Logon As User | Sets the user to use within all calls (this setting can be overridden using the 'dynamicsax.callcontext.logonAsUser' outbound property).  
Message Id | Sets the message id to use within all calls (this setting can be overridden using the 'dynamicsax.callcontext.messageId' outbound property).  
Partition Key | Sets the partition key to use within all calls (this setting can be overridden using the 'dynamicsax.callcontext.partitionKey' outbound property).  
Aos Server Name | The Application Object Server (AOS) WSDL server name.  
Aos Wsdl Port | The Application Object Server (AOS) WSDL port.  
Reconnection |  Reconnection | When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy  
## Associated Operations
  * Invoke Document Service Operation
  * Query Table
  * Static Query


## Invoke Document Service Operation
`<microsoft-dynamics-ax:invoke-document-service-operation>`
Executes a Document Service operation.
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration | The name of the configuration to use.  
Action Input | `#[payload]`  
Streaming Strategy | 
  * Repeatable In Memory Iterable Type
  * Repeatable File Store Stream Type

| Configure to use repeatable and their behavior.  
The service group name (first level metadata key)  
The action name (second level metadata key)  
Target Variable | The name of a variable on which the operation’s output will be placed  
Target Value | An expression to evaluate against the operation’s output and the outcome of that expression will be stored in the target variable | `#[payload]`  
Reconnection Strategy | 
  * Reconnect
  * Reconnect Forever

| A retry strategy in case of connectivity errors  
### For Configurations
  * dynamics-ax-config


### Throws
  * MICROSOFT-DYNAMICS-AX:CONNECTIVITY
  * MICROSOFT-DYNAMICS-AX:INVALID_SESSION
  * MICROSOFT-DYNAMICS-AX:RETRY_EXHAUSTED
  * MICROSOFT-DYNAMICS-AX:TRANSACTION
  * MICROSOFT-DYNAMICS-AX:TRANSFORMATION
  * MICROSOFT-DYNAMICS-AX:UNKNOWN
  * MICROSOFT-DYNAMICS-AX:VALIDATION


## Query Table
`<microsoft-dynamics-ax:query-table>`
Create a new record.
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration | The name of the configuration to use.  
Items Per Page  
Streaming Strategy | 
  * Repeatable In Memory Iterable
  * Repeatable File Store Iterable

| Configure to use repeatable and their behavior.  
Target Variable | The name of a variable on which the operation’s output will be placed  
Target Value | An expression to evaluate against the operation’s output and the outcome of that expression will be stored in the target variable | `#[payload]`  
Reconnection Strategy | 
  * Reconnect
  * Reconnect Forever

| A retry strategy in case of connectivity errors  
### Output
Array of Object  
---  
### For Configurations
  * dynamics-ax-config


### Throws
  * MICROSOFT-DYNAMICS-AX:CONNECTIVITY
  * MICROSOFT-DYNAMICS-AX:INVALID_SESSION
  * MICROSOFT-DYNAMICS-AX:TRANSACTION
  * MICROSOFT-DYNAMICS-AX:TRANSFORMATION
  * MICROSOFT-DYNAMICS-AX:UNKNOWN
  * MICROSOFT-DYNAMICS-AX:VALIDATION


## Static Query
`<microsoft-dynamics-ax:static-query>`
### Parameters
Name | Type | Description | Default Value | Required  
---|---|---|---|---  
Configuration | The name of the configuration to use.  
Static Query Name  
`#[payload]`  
Items Per Page  
Streaming Strategy | 
  * Repeatable In Memory Stream
  * Repeatable File Store Iterable

| Configure to use repeatable and their behavior.  
Target Variable | The name of a variable on which the operation’s output will be placed  
Target Value | An expression to evaluate against the operation’s output and the outcome of that expression will be stored in the target variable | `#[payload]`  
Reconnection Strategy | 
  * Reconnect
  * Reconnect Forever

| A retry strategy in case of connectivity errors  
### Output
Array of Object  
---  
### For Configurations
  * dynamics-ax-config


### Throws
  * MICROSOFT-DYNAMICS-AX:CONNECTIVITY
  * MICROSOFT-DYNAMICS-AX:INVALID_SESSION
  * MICROSOFT-DYNAMICS-AX:TRANSACTION
  * MICROSOFT-DYNAMICS-AX:TRANSFORMATION
  * MICROSOFT-DYNAMICS-AX:UNKNOWN
  * MICROSOFT-DYNAMICS-AX:VALIDATION


## Reconnection Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Fails Deployment | When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy  
Reconnection Strategy | 
  * Reconnect
  * Reconnect Forever

| The reconnection strategy to use  
### Reconnect
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
How often to reconnect (in milliseconds).  
The number of reconnection attempts to make.  
If false, the reconnection strategy runs in a separate, non-blocking thread.  
### Reconnect Forever
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
How often in milliseconds to reconnect.  
If false, the reconnection strategy runs in a separate, non-blocking thread.  
## Expiration Policy Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Max Idle Time | A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration  
Time Unit |  Enumeration, one of:
  * NANOSECONDS
  * MICROSECONDS
  * MILLISECONDS
  * SECONDS
  * MINUTES
  * HOURS
## Reconnection Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Fails Deployment | When the application is deployed, a connectivity test is performed on all connectors. If set to true, deployment fails if the test doesn’t pass after exhausting the associated reconnection strategy  
Reconnection Strategy | 
  * Reconnect
  * Reconnect Forever

| The reconnection strategy to use  
### Reconnect
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
How often to reconnect (in milliseconds).  
The number of reconnection attempts to make.  
If false, the reconnection strategy runs in a separate, non-blocking thread.  
### Reconnect Forever
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
How often in milliseconds to reconnect.  
If false, the reconnection strategy runs in a separate, non-blocking thread.  
## Expiration Policy Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Max Idle Time | A scalar time value for the maximum amount of time a dynamic configuration instance should be allowed to be idle before it’s considered eligible for expiration  
Time Unit |  Enumeration, one of:
  * NANOSECONDS
  * MICROSECONDS
  * MILLISECONDS
  * SECONDS
  * MINUTES
  * HOURS

| A time unit that qualifies the maxIdleTime attribute  
## Repeatable In Memory Stream Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Initial Buffer Size | This is the amount of memory that will be allocated to consume the stream and provide random access to it. If the stream contains more data than can be fit into this buffer, then it will be expanded by according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize.  
Buffer Size Increment | This is by how much will be buffer size by expanded if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, meaning that a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised when the buffer gets full.  
Max Buffer Size | This is the maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower or equal to zero means no limit.  
Buffer Unit |  Enumeration, one of: | The unit in which all these attributes are expressed  
## Repeatable File Store Stream Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Max In Memory Size | Defines the maximum memory that the stream should use to keep data in memory. If more than that is consumed then it will start to buffer the content on disk.  
Buffer Unit |  Enumeration, one of: | The unit in which maxInMemorySize is expressed  
## Repeatable In Memory Iterable Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Initial Buffer Size | The number of instances to initially allow to keep in memory to consume the stream and provide random access to the stream. If the stream contains more data than can fit into this buffer, then the buffer expands according to the bufferSizeIncrement attribute, with an upper limit of maxInMemorySize. Default value is 100 instances.  
Buffer Size Increment | By how much the buffer size expands if it exceeds its initial size. Setting a value of zero or lower means that the buffer should not expand, and to raise a STREAM_MAXIMUM_SIZE_EXCEEDED error when the buffer gets full. Default value is 100 instances.  
Max Buffer Size | This is the maximum amount of memory to use. If more than that is used then a STREAM_MAXIMUM_SIZE_EXCEEDED error is raised. A value lower or equal to zero means no limit.  
## Repeatable File Store Iterable Type
Field | Type | Description | Default Value | Required  
---|---|---|---|---  
Max In Memory Size | This is the maximum amount of instances to keep in memory. If more than that is required, then it will start to buffer the content on disk.  
Buffer Unit |  Enumeration, one of: | The unit in which maxInMemorySize is expressed  
## See Also
MuleSoft Help Center