Total Pageviews

Search This Blog

Sunday, May 16, 2010

AIF Links...

Troubleshoot AIF http://technet.microsoft.com/en-us/library/aa548693.aspx

Consuming AIF Web Service is VS 2008

http://www.eggheadcafe.com/software/aspnet/33917648/consuming-aif-web-service.aspx

AIF Error Access to Service https://community.dynamics.com/forums/t/18134.aspx

Dynamics AX - AIF WebService for AxdSales Order
http://paruvella.spaces.live.com/Blog/cns!F2EC589E221A4DB0!133.entry

How to: Call an AIF Web Service from C#
http://msdn.microsoft.com/en-US/library/cc652581(v=AX.50).aspx

AIF Integration using web services
https://community.dynamics.com/forums/p/30337/59298.aspx

AIF Find/Read in Dynamics AX
https://community.dynamics.com/blogs/axsantoshr/comments/51105.aspx


Dynamics AX integration using AIF http://blogs.msdn.com/aif/


Creating Custom Dynamics AX Services
http://blogs.msdn.com/aif/archive/2008/12/16/creating-custom-dynamics-ax-services.aspx

Dynamics AX 2009 AIF - Error Access to Service

Last week, I was involved in creating a custom webservice using AIF (Dynamics AX 2009). Last time when I worked on AIF development, that was with AX 4.0 ,which then had the limitations for update operation and which got resolved in one of the service pack released later.

I created this custom query and then ran the AxD Wizard inorder to generate my custom services. The service got created successfully which I had to consume in my .Net test harness application ( a simple .Net Windows client app to test my service by passing the required parameters). As expected, my first attempt never works without giving me an error ;-), I spent some time digging into this checking in Windows Event Viewer and .Net Stack Trace without any luck. Later on, it striked me to go and check into the Exception raised in AIF in AX.

I navigated to Basic => Periodic => Application Integration Framework => Exceptions and got this error description "The User does not have access to the service" though it was not a proper descriptive one, it gave me some insights where to debug..

I put the breakpoint in the below class AifRequestProcessor (verifyRequestIsAllowed method) and found the actual issue was that the new service created by me does not have a security key assigned to it. Once the Security key was assigned this helped in resolving the error.

Thought posting some AIF links/blogs which might be useful ..

Troubleshoot AIF 
http://technet.microsoft.com/en-us/library/aa548693.aspx




Consuming AIF Web Service is VS 2008 http://www.eggheadcafe.com/software/aspnet/33917648/consuming-aif-web-service.aspx



AIF Error Access to Service https://community.dynamics.com/forums/t/18134.aspx



Dynamics AX - AIF WebService for AxdSales Order http://paruvella.spaces.live.com/Blog/cns!F2EC589E221A4DB0!133.entry



How to: Call an AIF Web Service from C# http://msdn.microsoft.com/en-US/library/cc652581(v=AX.50).aspx



AIF Integration using web services https://community.dynamics.com/forums/p/30337/59298.aspx



AIF Find/Read in Dynamics AX https://community.dynamics.com/blogs/axsantoshr/comments/51105.aspx



Dynamics AX integration using AIF http://blogs.msdn.com/aif/



Creating Custom Dynamics AX Services http://blogs.msdn.com/aif/archive/2008/12/16/creating-custom-dynamics-ax-services.aspx

Thursday, May 13, 2010

Query on EP Developer Tools

We are setting up DEV Environment for our EP Portal Development on Dynamics AX 2009.

We would be using EP extensively in our project as we are building up some store portals web pages. Currently, our environment topology for DEV is that we have different servers for AOS and EP and Role Centers respectively. We have around 15 developers who would be using their individual machines to build up Enterprise portal pages, these guys have Windows XP running on their local pc’s with Visual Studio.
Hence, we are trying to install the EP Developer tools on their machines but the setup can’t proceed as it expects EP and Role Center to be installed on the same physical machine where we are installing Developer Tools.




Logically, I think it should be only the BC.Net which should be installed on client machines along with the DEV tools as the BC.Net knows which AOS to talk to and thereby EP and Role Centers. But, this is not working.

Can anyone enlighten me if any workaround or any solution/fix is available for this? I would appreciate if you can drop a comment here or mail me on mail.dilipn@gmail.com. If I find an answer, I will post it back here.

Wednesday, May 5, 2010

Back Up and Restore Userinfo table across AX environments

Usually we come up with the requirement of replicating AX users across  multiple Dynamics AX Environments, These are the following steps which we perform manually inorder to do this task:


But, this can be done in a smarter way with this SQL Script.

Monday, May 3, 2010

Dynamics AX 6.0 and Windows Workflow 4.0

Thanks to the blogger for posting this cool link about upcoming version of AX and the new capabilities which it provides with respect to WF 4.0 and .Net stack.

http://ax4all.blogspot.com/2010/05/dynamics-ax-60-and-wf4.html

It also has a link to Channel 9 video at the end.