Click here to Skip to main content
15,918,808 members

Comments by Kingshuk_SP (Top 23 by date)

Kingshuk_SP 18-Jan-19 14:16pm View    
noted. and one thing:
suppose, I change the code of any existing method/s, but input param/s will remain same, only some logic change..., then client will not need to update their service reference right ?
Kingshuk_SP 3-Jan-19 16:04pm View    
ok noted. thanks.
Kingshuk_SP 25-Oct-17 2:42am View    
Nice article Graeme :) Thanks and Cheers :)
Kingshuk_SP 17-Oct-17 5:12am View    
Richard, its well executing. but I was asking if any simpler way is there. :)
Kingshuk_SP 19-Sep-17 4:11am View    
ok now i understand better.
You know, why I was asking like that. Actually, if we create a demo wcf service like this:

public class Service1 : IService1
{
public string GetData(int value)
{
return string.Format("You entered: {0}", value);
}
}

and after this simply run it..... then if we create any client application like below:

using WSDLCall.DemoWCFService;

namespace WSDLCall
{
public partial class CallMethods : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Service1Client obj = new Service1Client();
lblData.Text = obj.GetData(2);
}
}
}

we can easily access like this right... so, we don't need to specify any endpoint.

but in WSDL file, you will only have classes, not this kind of methods.
That's the reason I was confused in the way to call.

and "ServiceReference1" was just for example.. in my project, i'll definitely use meaningful name.. :) :)