AIF: How to add extra non database field into XSD.

The idea is to add new extra field into schema definition and into whole AIF process but do not have this field part of table or query. It could be simple “counted” field. For now, we will start with new table and new query. When you generate document services by wizard, make sure that Generate…

0

Microsoft BizTalK Server 2010 passes compatibility testing with Microsoft Dynamics AX 2009 SP1

Earlier this week I was informed that Microsoft BizTalK Server 2010 has passed compatibility testing with Microsoft Dynamics AX 2009 SP1. See http://blogs.technet.com/b/dynamicsaxse/archive/2011/09/22/microsoft-dynamics-ax-2009-sp1-is-compatible-with-biztalk-server-2010.aspx for more details.   I would recommend that if you are using BizTalk Server integration to at least have Microsoft Dynamics AX 2009 SP1 Hotfix Rollup 7 Kernel installed as aminimum on all your AX…

0

How to: Add a new operation to AIF Document Service.

There are couple of document services in AX without all standard operation out of the box. A lot of time there is a need to get a sample of create operation. Usually in that situations we get a read (or find) operation to read data and then use this response as a basic template for…

0

How to trace AIF Web service SOAP message

For troubleshooting reasons sometimes is needed what exactly SOAP message is sent to AIF service. So we get a lot of questions how can we track such a message. The problem is not directly connected to Dynamics AX because using following method you can track every service included AIF Web service. The easy way to…

0

When using AX 2009 AIF Web Services errors may not always get propagated

We came across an issue where we were using Microsoft Dynamics AX 2009 SP1 (Application and Kernel build 5.0.1000.52) and we have setup a custom AIF endpoint for a specific company, in which we have selected options to propagate errors and automatically respond to errors. However we find in certain circumstances when a message fails processing…

0

The AIF Document History form takes too long to open and/or hangs the AX client

We came across and issue where we were using Microsoft Dynamics AX 4.0 SP2 ( and also applies to AX 2009) where opening the AIF Document history form ((Basic -> Periodic -> AIF -> Document history) takes a long time and often it will appear as though the AX client has hung. This is generally experienced if…

0

Biztalk adapter connections timeout after 1 minute when syncTimeout is zero

Recently we came across some unusual behaviour of the Biztalk adapter in AX2009 and AX4 – this is that when the syncTimeout value for the adapter is set to zero (which means unlimited), the connectionPoolTimeout will default to 1 minute (the lowest possible value) this of course means that the connections can timeout after 1 minute. So…

0

You get the following warning message in BizTalk Server 2006 R2/2009 – The message does not contain a body part (part 2)

We came across an issue where you are using Microsoft Dynamics AX 2009 Asynchronous BizTalk Adapter to receive response messages from AX 2009. After just having sent an AIF UPDATE or DELETE Action message to AX, the BizTalk Server fails to consume the response message that is generated by AX. You get the following error logged in the…

2

Creating an MSMQ message that can be consumed by AX AIF process

 Last week I had the need to use the MSMQ adapter in AX2009. Setting up the AX and Windows side of this was pretty straightforward as there is a great article on TechNet detailing how to do this (http://technet.microsoft.com/en-us/library/aa834340.aspx). This meant I could generate outgoing messages from AX pretty easily. However when I wanted to…

1

Error when trying to register the AIF services – "Cannot create a record in Data Policy Schema Information (AifDocumentField)"

We came across an issue where they had two separate systems with their own database and application files, dev and test, and both were being used for developing and testing custom AIF services using Microsoft Dynamics AX 4.0. In one scenario after moving AIF setup from one environment to another (dev to test), then trying…

0