title: PHP with Dynamics NAV webservices
body: <p>For a new project of myself I need to combine the Microsoft Dynamics NAV with the PHP webshop. When i try to login I get the same error time after time:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing
    WSDL: Couldn't load from
    '<a href="http://xxx.xxx.xx.xxx:7048/DynamicsNAV2/WS/Codeunit/xxxx" rel="nofollow">http://xxx.xxx.xx.xxx:7048/DynamicsNAV2/WS/Codeunit/xxxx</a>' : failed to
    load external entity
    "<a href="http://xxx.xxx.xx.xxx:7048/DynamicsNAV2/WS/Codeunit/xxxx" rel="nofollow">http://xxx.xxx.xx.xxx:7048/DynamicsNAV2/WS/Codeunit/xxxx</a>" in
    xxxxx\test.php:7 Stack trace: #0 xxx\test.php(7):
    SoapClient->SoapClient('<a href="http://xxx.xxx.x" rel="nofollow">http://xxx.xxx.x</a>...', Array) #1 {main} thrown
    in xxxx\test.php on line 7</p>
  </blockquote>
  
  <p>However it IS the right url, when i browse it in my browser it will popup. It uses an authentication:</p>
  
  <blockquote>
    <p>domain\user<br>
    password</p>
  </blockquote>
  
  <p>How can i connect to a microsoft Dynamics NAV webservice by PHP? I can't figure it out.</p>