hi,
I've developed a webservice which will be called by a window service based on some period. thing is how to make my webservice reference dynamic????? .
hi,
I've developed a webservice which will be called by a window service based on some period. thing is how to make my webservice reference dynamic????? .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
BrijPosted Aug 27, 2007, 11:23 PM
hi,
i've got solution 4 my prob......
jst change reference.cs file and change refrence of this.URL to the URL stored in web.config. (first u got to change the webReference property to URLReference =Dyanamic and then add the refrence of URL(web service) in web.config file under AppSetting section and later access this URL in reference.cs using System.ConfigurationManager.appsetting["NameOfKey"]. assign this value to this.URL (available in constructor of refrence.cs) in refrence.cs
.....SOLVED.....
thanx