
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.
*This post is locked for comments
I have the same question (0)Hi
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.