Application Integration Framework Web services are used to exchange documents between Microsoft Dynamics AX and other systems
Questions tagged [aif]
99 questions
1
vote
1 answer
Error message why unit testing AIF: Maximum message size quota for incoming messages has been exceeded
Sorry for the long title.
I am writing a Unit Test framework for Dynamics AX in C# to test an integration project we are working on using the Dynamics Connector.
The basic structure of our timesheet tests is:
Create snapshot of database (AX doesn't…

Keithin8a
- 961
- 7
- 32
1
vote
0 answers
AX 2012 R2 CU7 AIF: Failed to add a service
I've created an HTTP inbound port. I'm able to access the services using Visual Studio. However, when I try to add the service to the wcfTestClient, I get the following error:
Failed to add a service. Service metadata may not be accessible. Make…

RT.
- 435
- 2
- 9
- 25
1
vote
1 answer
How do you correctly return an aggregate data field using AX 2012 Query Service
I have been working on the AX Query Service as of late. I have a pretty good understanding of everything but it seems that the QueryDataFieldMetadata object does not like aggregates. When I build a QueryDataFieldMetadata…

theBrilliance
- 61
- 1
- 7
1
vote
2 answers
find out aif document service components
I'm in an AX 2012 R2 environment.
I've a custom document service in our environment. I can see it by opening the AIFService form in the AOT. There may be a better way of browsing all the available document services. I haven't found it yet.
Anyway,…

RT.
- 435
- 2
- 9
- 25
1
vote
3 answers
What are valid UTCDateTime type string formats for AIF transfomrmations?
Im am trying to write a .net class that transforms a piece of xml to a AX UtcDateTime type.
The class is used in an inbound transformation.
Original xml:
2014-06-12
+02:00
My…

Steven
- 61
- 1
- 7
1
vote
0 answers
AIF service over https
I just deployed AIF service (Activated) over the net.tcp, it is providing WSDL URI at the same time, how can I use https binding to consume AIF.
And Whats the way to configure the URL in the web.config of a .net from where I am consuming AIF…

sohail.hussain.dyn
- 1,411
- 1
- 16
- 26
1
vote
1 answer
Error response from AX 2012 AIF Services "Could not convert some or all identity references"
I'm receiving this error message (self translated from spanish) ...
"Could not convert some or all identity references"
May be (see comments)
Some or all identity references could not be translated
... when invoking my own custom services…

j.a.estevan
- 3,057
- 18
- 32
1
vote
1 answer
How do I get the details of a SOAP fault in Dynamics AX?
I'm currently communicating with an external SOAP service within AX using the a service reference and the generated .NET class. Everything is working out greatly with the exception of how to handle SOAP faults. Ideally, this doesn't happen, but…

chuckg
- 9,195
- 7
- 28
- 26
1
vote
1 answer
Dynamics AX 2009 AIF Tables
Background
I have an issue where roughly once a month the AIFQueueManager table is populated with ~150 records which relate to messages which had been sent to AX (where they "successfully failed"; i.e. errorred due to violation of business rules,…

JohnLBevan
- 22,735
- 13
- 96
- 178
1
vote
2 answers
What is the best way to customize outbound xml message working with AIF?
I found one way: it is override serialize method in the class that derived from AIFDocument class, that was created from AIF Document Wizard, but I'm thinking that is not right way and i'm looking for the best practice in this task.
The…
user443426
1
vote
1 answer
AX2009 - How do I create a Sales Order of "Journal" type if my default Sales Type is "Sales order"?
AX2009. We have our AR parameters for AIF default Order Type to "Sales Order". However, there are instances where orders must come in as "Journal" type. Changing the SalesType in the xml to "Journal" does not seem to work. Is there a way to do…

Viet
- 11
- 1
1
vote
2 answers
Print Management / AIF
I have setup the AIF so that when an invoice is created, it gets added to the queue. I know that this doesn't work when Printing to Screen. So I had adjusted the print management settings for that customer to Print to Archive. However, the document…

CallumVass
- 11,288
- 26
- 84
- 154
1
vote
1 answer
The update from my AIF Webservice for SalesAgreementHeader [AX 2012] fails
Hello I've created a query with only the SalesAgreementHeader as table. Then I used the wizard to create a document aif webservice.
The webservice works fine, but the update always reports an "Invalid xml document." error.
This error is thrown by…

supertobi
- 334
- 2
- 20
1
vote
1 answer
Is it possible to change the target namesplace of an AX 2012 AIF WebService?
If I create a AIF-WebService (custom or document) the targetNamespace is set to "http://tempuri.org/".
Is it possible to change that?
I've set the property "Namespace" in the service node in the AOT and I set in the configuration of the service the…

supertobi
- 334
- 2
- 20
1
vote
1 answer
How to make a simple getter via AIF in AX 2012?
I have a simple getter Class in AX and would like to use it via an AIF webservice from an external program. The Class looks like this:
static Email getEMail(HcmWorkerRecId _hcmWorkerRecId)
{
;
email =…

supertobi
- 334
- 2
- 20