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 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 any 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 it on NAV server?
Thank you very much in advances
Regards,
Tony
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 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 any 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 it on NAV server?
Thank you very much in advances
Regards,
Tony