During Web
Application Development and Implementation There are Required to Dynamic Change
Url Of Web Service.It's Can Be Done by Following Way.
Add Key In Web.Config With Web Service Path name So it's can be Later Change after Published.
Add Key In Web.Config With Web Service Path name So it's can be Later Change after Published.
< add key="save_photo" value="http://comp-7/TestMobile/Service.asmx" > Now in Class Where you Are Using this Web Service Do Following localhost.Service service_all = new localhost.Service(); service_all.Timeout = 10000; service_all.Url = ConfigurationManager.AppSettings["save_photo"];
Comments
Post a Comment