简体   繁体   中英

Using PHP to Update Dynamics AX 2012 Workflow

I am currently attempting to set up a PHP script to communicate with Dynamics AX 2012 and update a workflow (ie 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 BasicHttp ).

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 ( \\Services\\SysWorkflowApprovalService ).

更好的方法是将PHP应用程序连接到WCF服务,然后轻松地将该WCF服务集成到AIF,然后将AIF调用到Dynamics AX,我认为这是最好的方法。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM