473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Web Service Proxy -- Begin/End pattern?

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
2 1918
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: rgarf | last post by:
I have a C++ application that consumes a web service. I would like to call the web service asynchronously so my C++ application can do other processing in between. My proxy file does not have any...
1
by: Michael S. Scherotter | last post by:
I have a proxy class derived from System.Web.Services.Protocols.SoapHTTPClient that calls a web service. Sometimes, because the call takes a longer time, I get the OLE server busy dialog. Is...
4
by: Vlad | last post by:
I am implementing class that uses Web service written by another and it is not implemented yet. How can I test my class using NUnit framework without make changes in future when web service will be...
1
by: Simon Hart | last post by:
Hi, I thought I'd just open a thread in an attempt to get peoples feelers with regards to multithreading vs Async Web Service processing. Of course Web Services makes it easy to do Async...
2
by: shyam | last post by:
I have a C++ COM based windows service which have more than 30k lines of code and which is stablized over years. We need to take the advantage of the ..NET framework for this project, especially...
1
by: FluffyCat | last post by:
This week I've I continued my series of design patterns examples using PHP 5 with the Bridge Pattern and the Flyweight Pattern. Here now is my 19th design pattern example using PHP 5, the Proxy...
6
by: nickname | last post by:
I want to pass some xml to a web service method, the xml will confirm to a defined schema. Lets say the schema is defined as: <xs:schema attributeFormDefault="unqualified"...
5
by: Josh | last post by:
I have application1 that connects to webService1. I have a second application that references the same webservice (webService1). I need to pass an instance of a class returned from webService1...
1
by: alsammud | last post by:
Hy, I have a Wcf service tat receives files from clients. The contract: #region ServiceContract public interface IWcfService { IAsyncResult...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.