I'm integrating NAV with PHP and a custom shopping cart. I've noticed that there is not a lot of information on the web about this and I would like to start a thread talking about how to overcome and succeed and making it work. I'm using http://odataphp.codeplex.com/ as my SDK and found many bugs that I needed to manually fix. To connect with NAV initially I needed to set NAV up with NTLM to true. I can now read and write to NAV.
Does anyone know of any other settings than NTLM to true that need to be set on NAV to make sure everything is working right?
*This post is locked for comments
hi,
an alternative way would be to encapsulate the needed business methods, which use the nav web service, within a .net assembly and then write php code using this new assembly. so, you can interact with nav without changes.
best regards
I'm not personally a web developer but I've worked alongside web developers as a NAV developer and the NTLM parameter, like you said, always had to be changed. Besides that nothing else to remark. Of course, make sure the right ports (webservices) are forwarded and allowing the connection. Also check the firewall. As a last tip, make sure the user you use has the proper permissions (try to avoid SUPER permissions) and when you might expect an error on one of the calls you make to WS, try to build it in a way you can pick it up and make it easier for you to diagnose and for the user to understand what he did wrong.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156