We can use the Asp.net config file to store the location of out web service. Later we can use this value at the runtime to connect to the web service
Ex.
Client side Calling
public void btn_CallWebService(Object sender, EventArgs e)
{
HelloWordService service=new HelloWorldService( );
service.Url=System.Configuration.ConfigurationSettings.AppSettings[“WSUrl”];
Lable1.Text=service.HelloWorld( );
}

hmm, now i see the code u write for your company
By: kalyan on July 8, 2008
at 1:52 pm