0

I am using Microsoft Dynamics NAV 2009 as I am building a C# program as the integration. Currently Im defining all my web service references inside my C# code.

I wanted to know whether I can call the web service references from a text file since I will be using different URLs with different domains. Currently Im running on localhost.

Nareshwar
  • 15
  • 6

1 Answers1

2

If you want to avoid the hard-coded URLs that were created when you set the reference to the web service - you certainly can. Your web service proxy has a Url property that you could populate with an alternative web service URL, e.g. one read from a text or config file, prior to the actual web service call.

Jan Hoek
  • 702
  • 5
  • 13