web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

connect from external php to Ax 2009

(0) ShareShare
ReportReport
Posted on by 55

Hi,

Found some information, that it's possible to connect to AX from external php application. Exist two variants - use Business connector ( through php dotnet class ) or communicate with webservice through SOAP .  

Here is one discusion : community.dynamics.com/.../111006.aspx .

With SOAP variant the problem is to know functions( methods ) which are exploded in webservice . Or I'm wrong ? Through SOAP can be fully accesible Axapta ?

It's interesting with Business connector . But sorry, thought I know php , but don't have experience with dotnet . I don't know from what to start with that ... Which dll to call ? How to operate with methods ?

I'll be thankfull for any small sample or advice !

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    If you want to use AIF document services, a web services is a natural choice. If you want to create your own interface, I would still recommend NOT using Business Connector directly from the PHP application. The interface is weakly typed and Business Connector will be removed in a future version of AX, therefore it's better to avoid the dependency if you can.

    I would consider either a custom service in AX or a new web service written in .NET that would communicate with AX via Business Connector. In both cases, the only dependency in your PHP application will be a web service and you'll be able to easily change the implementation later (e.g. using AX2012 custom services) without (almost) any changes in the PHP application.

  • Rimokas Profile Picture
    55 on at

    Martin, thanks for the answer !

    Here we have the solution - webservice writen with .net and running on IIS . Exist local website ( ASP.NET ) which now is runing . The main purpose of this site ( web terminal ) is to do emploeers job ( ProdJournalRoute ) . It's working , but not fully functional . Mine chiefs want to extend that . Sorry , I don't know .NET , also I don't have the project of existing local site. But know php + javascript  and can to do own pages .  So it leaves problem of knowleges - how to direct from php to webservice and operate through SOAP ?

    With best regards !

  • Verified answer
    Martin Dráb Profile Picture
    237,967 Most Valuable Professional on at

    PHP has the SoapClient class for this purpose. Check out  PHP Manual > Function Reference > Web Services > SOAP. Using WCF Services With PHP 5 might be useful as well.

  • Rimokas Profile Picture
    55 on at

    Sorry for so slow reply . Thanks Martin for your links . Interesting that before I get your answer , something similar I begin too ... :-)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans