I have created an asynchronous web method in one of my web services, which I am trying to call from Javascript. The problem is that the proxy script generated for the client includes two methods instead of one. For each asynchronous web method I define a BeginXXX and EndXXX, where XXX is the method name. When calling the web service from any client, it works fine: In the service description I get the XXX method name and it executes successfully. But when I add a ScriptReference to my aspx page and I examine the script I see those two Begin and End methods.
Does anyone have a clue?
Thank you