all groups > dotnet web services > april 2006 >
You're in the

dotnet web services

group:

Web Service Proxy -- Begin/End pattern?


Web Service Proxy -- Begin/End pattern? D.J. Heap
4/24/2006 5:43:02 PM
dotnet web services:
Is there a way to get VS2005 to generate the Begin/End pattern (as VS2003
always did) for async web service calls rather than the
MethodAsync/MethodCompleted pattern when adding web references?

The MSDN documentation seems schizophrenic and references both patterns, but
I can't find a way to change the behavior back to the VS2003/Begin/End style.

The Begin/End pattern is just much more convenient for some scenarios.

Thanks!
Re: Web Service Proxy -- Begin/End pattern? Greg Young [MVP]
4/27/2006 6:29:40 AM
Yeah use wsdl out of the 1.1 framework to generate it :)

I would imagine that you could try tricking it into using the old wsdl.exe
but I am not sure what other odd dependencies may exist :)


[quoted text, click to view]

Re: Web Service Proxy -- Begin/End pattern? D.J. Heap
4/27/2006 8:53:01 AM
The new wsdl.exe generates both styles by default and I've used it as a
workaround, but it'd be nice to know if VS2005 is going to break all our
VS2003 web service clients (if someone updates a web reference) or if it has
an option to do one or the other or both styles...

DJ

[quoted text, click to view]
AddThis Social Bookmark Button