By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,905 Members | 1,607 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,905 IT Pros & Developers. It's quick & easy.

Web Service Proxy -- Begin/End pattern?

P: n/a
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!

Apr 25 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 :)
"D.J. Heap" <DJ****@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
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!

Apr 27 '06 #2

P: n/a
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

"Greg Young [MVP]" wrote:
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 :)
"D.J. Heap" <DJ****@discussions.microsoft.com> wrote in message
news:84**********************************@microsof t.com...
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!


Apr 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.