Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I am currently attempting to set up a PHP script to communicate with Dynamics AX 2012 and update a workflow (i.e. approve and reject), and after reading this post I believe it can be achieved using the business connector - however I also read a lot of articles advising not to use the Business Connector with AX 2012 and so I would like to avoid doing so if possible.
My question is: How can I use PHP (or any other language I can call through PHP) to communicate with AX 2012 to approve/reject or otherwise update existing workflows without using the business connector?
Thanks in advance.
I've also looked into the connection between PHP and AX a few times in the past and came to the conclusion that you have a number of option with varying degrees of functionality and complexity.
1. You can connect to the pre-existing webservices in AX. This works really well if you're using .NET, but with PHP its a bit more tricky to manage.
2. I haven't tried using the business connector in PHP, but I'm wary of the compatibility of the .NET components as well as its future use in AX. Its being phased out
3. Code an intermediary simple Rest/ JASON webservice in .NET that PHP can consume which in turn communicates to AX via the official webservices.
4. Perform some simple file drops for asynchronous processing. We used this for a PHP Display board that needed to present simple info out of AX. This will probably not be ideal for your use.
Business Applications communities