Jeff,
The Begin* and End*methods are generated by the "generate web service
proxy" code found in the .NET Framework and tools (i.e., wsdl.exe, Add
Web Reference in VS.NET). I do not believe you can control the code
generation to a level which would allow you not say "do not generate
these methods."
These methods are included in the proxy to allow clients to call web
services asynchronously. The methods have no affect on the
implementation of the actual web method. These methods are useful if
you are writing WinForm based application and you do not want to
"freeze" the UI while the program waits for the web service to return.
-KIRBY
--
Kirby Turner, MCSD, MCAD
www.whitepeaksoftware.com
On Wed, 22 Sep 2004 08:54:30 -0700, "Jeff Dillon"
<je**@removeemergencyreporting.com> wrote:
I'm using the webservice I've created:
http://www.emergencyreporting.com/ER...SDispatch.asmx
When building a client VB.NET app, and adding a web reference to the above
file, I see that the client is creating extra methods. For my IncidentOpen
method, the client is adding methods like BeginIncidentOpen and
EndIncidentOpen. This is not an async web service, is there a corresponding
web service setting I need to set so these methods won't get created on the
client?
thx
Jeff