I have a little vb.net program that uses NAV 2009 web services to return the item description (trying to keep it simple). The 2 lines of code related to authentication are seen here:
MyService.UseDefaultCredentials = False
MyService.Credentials = New System.Net.NetworkCredential(UserID.Text, Password.Text, Domain.Text)
As soon as I try to run this program from a computer that is not on the same domain as the web service machine I get a HTTP 401 error. Even though I pass in the domain it does not work. How can I use web services from a machine that is not on the domain?