I followed the tutorial at
https://blogs.msdn.microsoft.com/freddyk/2010/01/19/connecting-to-nav-web-services-from-php/#comment-12355
And I am able to make a connection between PHP and NAV 2009 R2 via SOAP connection.
However, I received this error message when I were trying to pull out a customer record
Fatal error: Uncaught SoapFault exception: [a:Microsoft.Dynamics.Nav.Types.Exceptions.NavObsoleteMethodException] The CONTEXTURL() method is obsolete. in importorders.php:73 Stack trace: #0 importorders.php(73): SoapClient->__call('Read', Array) #1 {main} thrown in importorders.php on line 73
Could anyone help me to fix the issue please? I don't have much knowledge about NAV Setup. The network company has setup the web service for me.
Can I do anything with my PHP code to fix the issue or I have to change the configuration on NAV Server?
Thank you very much in advance
Regards,
Tony