millie_w

Hi Guys,

I know that by calling a webservice, the connection is automatically setup. Is it possible to force the call to use a specific connection, one that has been setup using the connection manager I would like to be able to control the connection and to close it after use. I have tried using connection manager to first set up a connection and then close it, but it seems that the call to use the webservice creates another connection. Is this correct Or does it grab the existing connection and say "hey, this is mine now" and have exclusive use of it

Many thanks,

Millicent.



Re: .NET Compact Framework Webservice GPRS Connection

besharah

Dear millie_w ,

Why do you need to close the connection(it is Expensive TO CREATE NEW OBJECT)

, by default the connection will be in the pool, everytime you need the connection it will bring it from the pool.

best regards,