dsmalley
10-23-2007, 08:32 PM
I was wondering if there is any accepted "best practice" for calling the methods of a dynamically generated web service proxy? I'm referring to the product of WebServiceProxyFactory when "ProxyType" (a VS-generated proxy class) is not used.
The generated proxy implements the service interface, but of course doesn't include any methods like Begin<methodname>, End<methodname>, or <methodname>Async, since those methods don't exist on the actual service object.
It is possible to use the standard delegate-based pattern for calling a synchronous method asynchronously, but I was wondering if there are any other possibilities?
Dave
The generated proxy implements the service interface, but of course doesn't include any methods like Begin<methodname>, End<methodname>, or <methodname>Async, since those methods don't exist on the actual service object.
It is possible to use the standard delegate-based pattern for calling a synchronous method asynchronously, but I was wondering if there are any other possibilities?
Dave