From: "Mitch Denny" <[EMAIL PROTECTED]>

> Mark,
>
> Set the KeepAlive property to false on your instance
> of the HttpWebRequest class. In the case of a SOAP
> proxy you need to override the GetWebRequest method
> to customise how it handles the request.
>

This worked like a charm. An interesting side-effect is that, with this
change, I get a new socket with every host request - even when using the
exact same soap proxy instance with the same connection group name. So, if I
ever want the other behavior (using the same socket more than once) I'll
need to add a property to let my class know whether or not to disable
KeepAlive.

Mitch - your help is much appreciated. Thanks!

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to