async web service question!

  • Thread starter Thread starter DBC User
  • Start date Start date
D

DBC User

Hi Sharpies,

I have developed a asyncrnous web service client. Everything is
working fine. Except folloing 2 things

1. Is it possible to force timeout on an async call?
2. Is it possible to kill the async call?

Thanks.
DBC
 
Hi,

The web service proxy class is derived from HttpSimpleClientProtocol (or one
of its descendants). All these classes, in turn, derive from
WebClientProtocol, who has the Timeout property you can configure so that an
HTTP request to a Web service times out after a certain amount of time.
 
Well, I tried a example with Timeout property set to 10 and expected to
fail immediatly but it didn't. the async process kepp going and going.
 
sorry I take it back. It works. I had another problem that was causing
the the web services to run.
 
Back
Top