I have a c# class that is invoked from a windows service, I am trying to call an asp.net web service from this class, I'm a bit confused with the web references..
I have the class which the windows services calls. I need to put this class into the directory where the windows service runs, in regards to the web references.. how do I reference the web service located at http://www.anotherserver.com/services/service.asmx
without hard coding this into the class?
thanks in advance