If there is no difference in the data request your troubled client is
making, then I would capture the entire client request to a log file and
check for malformed XML or header information.
I have seen this happen when the web service provider timed out during
the data collection stage before sending the response to the requesting
client, but since you are only seeing this with one client I would
suspect the client request XML format. I have found several cases where
XML can be parsed using straight DOM syntax, but the .NET XML parser
will reject. The number one cause of this in my experience has been
repeating element names in child or sibling elements.
f.e.:
<thisXML>
<elementone/>
<thatXML>
<elementone/>
</thatXML>
</thisXML>
Good Luck,
James R. Parker
Information Systems
Design and Development
BestWebTechs.Net
-----Original Message-----
From: Moderated discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Slaney
Sent: Monday, March 15, 2004 8:36 PM
To: [EMAIL PROTECTED]
Subject: [ADVANCED-DOTNET] Client getting Disconnected error when using
web service
One client is receiving an exception "The underlying connection was
closed:
An unexpected error occurred on a receive." when the webservice takes
longer than 30 seconds.
Other clients have not experienced this. If I look in the IIS logs, the
execution time for the request is longer than 30 seconds, but returns
with
a 500 HTTP status.
I have played around with the HTTP Keep-Alive setting on the client
side,
and synch and asynch versions both exhibit that same behaviour.
Has anyone has this problem before ?
===================================
This list is hosted by DevelopMentor(r) http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at
http://discuss.develop.com
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com