none
Not able to access Navision web services from PHP RRS feed

  • General discussion

  • We are following blog post by Freddy to access navision web services from our PHP application. 

    PHP application is on Linux server with Apache. You can search for Game4U in google and you will find the website. 

    Navision is hosted on a different server with IIS. 

    When we are trying to follow the steps written in the blog above, we are getting below mentioned error. 

    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '<ip>' : Start tag expected, '<' not found in <php path> Stack trace: #0 <php path>: SoapClient->SoapClient('<ip>') #1 {main} thrown in <php path> on line 10

    Below mentioned key is already added in Navision web config file.

    <add key="WebServicesUseNTLMAuthentication" value="true"></add>

    What else do we need to do to make these webservices work? Do we need to activate SPNs also? SOAP client is enabled on our PHP server.

    Urgent response awaited.

    Regards,

    Abhijeet

    Saturday, July 13, 2013 4:33 AM

All replies

  • Wasnt able to post links in my last post. 

    We are following blog post http://blogs.msdn.com/b/freddyk/archive/2010/01/19/connecting-to-nav-web-services-from-php.aspx to access navision web services from our PHP application. 

    PHP application is on Linux server with Apache. Web URL is http://www.game4u.com/. 

    Navision is hosted on a different server with IIS. 

    When we are trying to follow the steps written in the blog above, we are getting below mentioned error. 

    Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:7047/DynamicsNAV/WS/SystemService">http://localhost:7047/DynamicsNAV/WS/SystemService' : Start tag expected, '<' not found in D:\wamp\www\nav\index.php:10 Stack trace: #0 D:\wamp\www\nav\index.php(10): SoapClient->SoapClient('http://localhos...') #1 {main} thrown in D:\wamp\www\nav\index.php on line 10

    We are following below mentioned format for Navision webservices.

    http://<Server>:<WebServicePort>/<ServerInstance>/WS/<CompanyName>/services

    Below mentioned key is already added in Navision web config file.

    <add key="WebServicesUseNTLMAuthentication" value="true"></add>

    What else do we need to do to make these webservices work? Do we need to activate SPNs also?

    Urgent response awaited.

    Regards,

    Abhijeet

    Saturday, July 13, 2013 4:36 AM
  • Hi Sr!

    I have the same problem! How did you solve it?


    • Edited by jfrubiod Friday, September 27, 2013 7:42 AM
    Thursday, September 26, 2013 8:59 AM
  • Hi. I think that the problem could be NTLM, but I have it enabled in SQL Server 2005.

    Any idea?

    Thanks

    Friday, September 27, 2013 8:00 AM