title: Consume OData Service from Visual Studio 2017
body: <p>I've a issue consuming Dynamics Nav OData. I'm using Visual Studio Community 2017 (version 15.9.0), and I've installed the extension OData Connected Service (Official Microsoft Extension)<a href="https://i.stack.imgur.com/Qw0eO.png" rel="nofollow noreferrer">1</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/Qw0eO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qw0eO.png" alt="Extension installed at Visual Studio"></a></p>
  
  <p>This is my Odata structure:</p>
  
  <blockquote>
    <p><a href="http://myWeb:8145/DynamicsNav90_Desa/OData" rel="nofollow noreferrer">http://myWeb:8145/DynamicsNav90_Desa/OData</a></p>
  </blockquote>
  
  <p>I've verified and the odata is returning <a href="https://i.stack.imgur.com/pzUHz.png" rel="nofollow noreferrer">2</a> values correctly at opera browser.</p>
  
  <p><a href="https://i.stack.imgur.com/pzUHz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pzUHz.png" alt="OData Respone"></a></p>
  
  <p>So far, it's working fine.</p>
  
  <p>The problem is when I go to the visual studio and I try to add a new connected service, It throws the next error <a href="https://i.stack.imgur.com/9cywK.png" rel="nofollow noreferrer">3</a>: </p>
  
  <p><a href="https://i.stack.imgur.com/9cywK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9cywK.png" alt="Odata ERROR"></a></p>
  
  <p>Image text: </p>
  
  <blockquote>
    <p>Connected Services
    Cannot access
    <a href="http://myWeb:8145/DynamicsNav90_Desa/OData/" rel="nofollow noreferrer">http://myWeb:8145/DynamicsNav90_Desa/OData/</a>$metadata</p>
  </blockquote>
  
  <p>I've checked the firewall and the port information and they are totally open to connect.</p>