2

I am trying to add a service reference in my C# project using a WSDL URL and trying to change the URL in run time by sending the URL value as an argument into the service constructor as mentioned in the following answer.

How to change webservice url endpoint?

My doubt is that whether the WSDL URL I add in the project needs to be accessible always when the application is running? Whether it will cause any error when the URL goes down or become not available.

Please let me know if you need any clarification on this query?

Venkat
  • 2,549
  • 2
  • 28
  • 61

1 Answers1

1

No it doesn't. You'll just need it if you have to update the reference by using the "Update Service Reference" menu option on the menu context when you right-click your service reference.

Leandro Requena
  • 344
  • 1
  • 5