<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dynamics AX Integration using AIF - All Comments</title><link>http://blogs.msdn.com/b/aif/</link><description>Integration scenarios, problems, solutions, etc.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10269159</link><pubDate>Fri, 17 Feb 2012 19:24:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10269159</guid><dc:creator>Robin</dc:creator><description>&lt;p&gt;Hi David – the short answer is yes, it is possible, and here’s how. First, you need to have the option Include exceptions in fault enabled for your port (that’s a checkbox on the Inbound ports or Outbound ports form, under the Troubleshooting heading). Next, you need to use the AifFault class to log and throw the fault – that will cause the errors and warnings to be included in the FaultMessageListArray.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10269159" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10266323</link><pubDate>Fri, 10 Feb 2012 03:15:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10266323</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Hello, I have problem in getting all the warning or error message when call to AIF service get errors. because what we get only the last error message. is it possible to extract all error and warning message ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10266323" width="1" height="1"&gt;</description></item><item><title>re: Using Windows Integrated Authentication with IIS-hosted Dynamics AX Services</title><link>http://blogs.msdn.com/b/aif/archive/2008/12/12/using-windows-integrated-authentication-with-iis-hosted-dynamics-ax-services.aspx#10263207</link><pubDate>Thu, 02 Feb 2012 13:57:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10263207</guid><dc:creator>Balaji Reddy</dc:creator><description>&lt;p&gt;Hi Friend,&lt;/p&gt;
&lt;p&gt;My query is related to AIF webservices which i want to host on IIS of a different machine which is in the Same domain itself.&lt;/p&gt;
&lt;p&gt;I am able to run all the services in netTCP adapter which are the basic integration ports of dynamics ax 2012.&lt;/p&gt;
&lt;p&gt;But i am unable to run this services using HTTP adapter.&lt;/p&gt;
&lt;p&gt;I have deployed some standard AIF services onto the IIS of my IIS Server machine using HTTP adapter.&lt;/p&gt;
&lt;p&gt;It is allowing me to add service reference into the .net application but when i am going to run my application its giving me error in the AIF service method line itself.&lt;/p&gt;
&lt;p&gt;an error related to authentication that user is not authorized to view contents of this page or directory.I have tried with Ax administrator login.&lt;/p&gt;
&lt;p&gt;I have implemented the standard code which is available on msdn for calling and AIF web service using HTTP adapter.&lt;/p&gt;
&lt;p&gt;This is my code of Console application. I have added Sales Order Service as service reference which is deployed on iis.&lt;/p&gt;
&lt;p&gt;static void Main(string[] args)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Create the sales order objects&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Service client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServiceReference1.SalesOrderServiceClient cl = new ServiceReference1.SalesOrderServiceClient();&lt;/p&gt;
&lt;p&gt;	 &amp;nbsp; &amp;nbsp;// Sales order object to receive response&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServiceReference1.AxdSalesOrder resp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Create the entity key list for the request&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServiceReference1.EntityKey[] readRespKeys = new ServiceReference1.EntityKey[1];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readRespKeys[0] = new ServiceReference1.EntityKey();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readRespKeys[0].KeyData = new ServiceReference1.KeyField[1];&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readRespKeys[0].KeyData[0] = new ServiceReference1.KeyField();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readRespKeys[0].KeyData[0].Field = &amp;quot;SalesId&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Ask the user for a sales order ID&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&amp;quot;Enter the sales order ID:&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Add the result to the entity key value&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;readRespKeys[0].KeyData[0].Value = Console.ReadLine();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Try to read the sales order&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;resp = cl.read(null, readRespKeys);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Display the information from the first sales table&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&amp;quot;For sales order: &amp;quot; + resp.SalesTable[0].SalesId);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&amp;quot;Customer Account is: &amp;quot; + resp.SalesTable[0].CustAccount);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (Exception e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(&amp;quot;Exception: &amp;quot; + e.Message);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.ReadKey();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cl.Abort();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cl.Close();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Please provide some needful help that i can come out of this problem as soon as possible, and also third party should be able to use my services so ho can i pass credentials, because users wont be our Dynamics Ax users.&lt;/p&gt;
&lt;p&gt;Thanks in advance....&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10263207" width="1" height="1"&gt;</description></item><item><title>re: New white paper for BizTalk integration with AIF</title><link>http://blogs.msdn.com/b/aif/archive/2011/08/17/new-white-paper-for-biztalk-integration-with-aif.aspx#10218522</link><pubDate>Fri, 30 Sep 2011 10:22:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10218522</guid><dc:creator>TorbenChrona</dc:creator><description>&lt;p&gt;Great to have a white paper, so we can start integrating it with BizTalk and important as the integration has changed to this version&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10218522" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10194650</link><pubDate>Wed, 10 Aug 2011 22:46:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10194650</guid><dc:creator>Jasper Defesche</dc:creator><description>&lt;p&gt;At on of our clients we&amp;#39;ve setup AIF for retrieving all items from the InventTable. The AIF message is quite large (roughly 22Mb on disc). We included the max_buffer_size in the registry. However the AOS is taking soo much time (20 minutes or so) to get the data and transform it into XML. As it runs in the AIF job, it is blocking all other trafic and sometimes an OutOfMemory error is raised. I was wondering if it is possible to speed up AX in collecting the data and formatting it as Xml. thanks in advance.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10194650" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10145761</link><pubDate>Fri, 25 Mar 2011 08:51:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10145761</guid><dc:creator>Leo</dc:creator><description>&lt;p&gt;Hi Friends, I am new in Dynamics Ax, right now my company using AX2009 and have several application written in VB2008. According to the AIF manual, AIF support the connection between VB2008 with data in AX2009. My Company plans to build a small application in VB and access data from AX using Web Services. for Example : I create a Sales Order Form in VB and do some validation using Web Services provided by AX2009 and save the data in Sales Order table like i create Sales order in AX2009, IS it possible to do that?&lt;/p&gt;
&lt;p&gt;Thanks anyway.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10145761" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10145614</link><pubDate>Thu, 24 Mar 2011 22:42:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10145614</guid><dc:creator>ajnar</dc:creator><description>&lt;p&gt;How do I use jquery to consume ax 2009 aif services??&lt;/p&gt;
&lt;p&gt;I have searched for asp.net samples to consume the ax web services but to no avail.&lt;/p&gt;
&lt;p&gt;can anyone point me in the right direction?&lt;/p&gt;
&lt;p&gt;im hoping this is the right place to post this :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10145614" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10120224</link><pubDate>Tue, 25 Jan 2011 21:33:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10120224</guid><dc:creator>Ismael</dc:creator><description>&lt;p&gt;You can see tutorial video how to configure AIF with file adapter for journal purch in andesof.net&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10120224" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10078757</link><pubDate>Thu, 21 Oct 2010 05:09:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10078757</guid><dc:creator>Jayesh Mhatre1</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can I have the video tutorial for AIF Installation and Configuration?&lt;/p&gt;
&lt;p&gt;Thank You All,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10078757" width="1" height="1"&gt;</description></item><item><title>re: Welcome to the AIF blog</title><link>http://blogs.msdn.com/b/aif/archive/2007/11/07/welcome-to-the-aif-blog.aspx#10078756</link><pubDate>Thu, 21 Oct 2010 05:09:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10078756</guid><dc:creator>Jayesh Mhatre1</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can I have the video tutorial for AIF Installation and Configuration?&lt;/p&gt;
&lt;p&gt;Thank You All,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10078756" width="1" height="1"&gt;</description></item></channel></rss>