Re: Is soap client proxy that wsdl.exe generates thread safe?
- From: "Max2006" <alanalan1@xxxxxxxxxxxxxxxx>
- Date: Fri, 16 Nov 2007 10:16:42 -0500
Thank you Steven. I thought the same, but I just wanted to confirm. The web
service proxy is pure .net 2.0 generated proxy.
"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:x3n2xRAKIHA.1104@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Max,
For the webservice proxy, I think it should be thread-safe as the .NET
generated proxy class is derived from the "SoapHttpClientProtocol" class
which is marked as thread-safe in document:
#SoapHttpClientProtocol Class
http://msdn2.microsoft.com/en-us/library/system.web.services.protocols.soaph
ttpclientprotocol(VS.71).aspx
therefore, it should be safe to use it in multi-thread context as long as
you haven't manually add any context-sensitive member in the derived proxy
class. Do you think so?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
From: "Max2006" <alanalan1@xxxxxxxxxxxxxxxx>service
Subject: Is soap client proxy that wsdl.exe generates thread safe?
Date: Thu, 15 Nov 2007 13:25:51 -0500
Hi,
I have a static reference to a soap proxy at client side and I am concern
about its thread safety. All parts of the application are calling the same
web methods quite often. Is the code that wsdl.exe generates for web
client thread safe?
Thank you,
Max
.
- References:
- Is soap client proxy that wsdl.exe generates thread safe?
- From: Max2006
- RE: Is soap client proxy that wsdl.exe generates thread safe?
- From: Steven Cheng[MSFT]
- Is soap client proxy that wsdl.exe generates thread safe?
- Prev by Date: RE: Pass through Windows Identity to Web Service
- Next by Date: Re: How to format schema validation message
- Previous by thread: RE: Is soap client proxy that wsdl.exe generates thread safe?
- Next by thread: RE: Pass through Windows Identity to Web Service
- Index(es):
Relevant Pages
|