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.
You should use AIF (Application Integration Framework).
Then you can call AX AIF services via SOAP (Web Services). Use
HTTP adapter instead of default
NetTcp (or configure it to use
See https://technet.microsoft.com/en-us/library/hh496418.aspx for the instructions of configuring HTTP Adapter.
For workflow actions AIF service is already created (