PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Help - Web Service Blocking Connection?

Reply

Help - Web Service Blocking Connection?

 
Thread Tools Rate Thread
Old 30-11-2006, 10:18 AM   #1
chris-s@mailcity.com
Guest
 
Posts: n/a
Default Help - Web Service Blocking Connection?


Hi folks,

I'm experiencing a problem with a gprs comms module in our application.
The module has two main threads, one can be thought of as a 'ping' type
process pinging a server over a tcp socket at a regular interval, the
other thread sends data, when required, to the server using RDA and
also calls a couple of web service functions in the process.

All the threads use the same connection
'OpenNetCF.Net.ConnectionManager' object.

The problem I am experiencing is when the second thread calls a web
service function it appears to lock or block the connection such that
my 'ping' thread which continues to run, when it comes to ping finds
that the connection status is stuck at 'waiting for resource' until the
web serivce call completes. This has a knock on effect in that the
server expecting to receive the regular pings end up timing out the
connection.

It all functions and recovers fine, but would be better if this
blocking did not occur. Can I configure the web service calls to be
non-blocking or something?


Chris

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off