Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Connect to Query Web Service Using OData - Use Domain Not IP Address

$
0
0
Hello

I Have created a Web Service that exposes a Query object and NAV has automatically assigned the following URL:
http://ServerName.DomainName.local:9098/DatabaseName/OData/Company('Company-Name')/My_Customers

When I try to consume the Query using the above URL either via Excel or a Browser, my credentials won't work. If, however, I use the IP Address, it works:
http://192.168.50.131:9098/DatabaseName/OData/Company('Company-Name')/My_Customers

On the Nav Service Tier server, the OData Services "OData Base URL" was originally set to blank. I have updated this (and then restarted the service) to http://ServerName.DomainName.local:9098/DatabaseName/OData/ and this hasn't made any difference.

Many Thanks

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>