Click here to Skip to main content
16,012,468 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: .Net app crashes on startup Pin
Simon P Stevens29-Oct-08 6:34
Simon P Stevens29-Oct-08 6:34 
AnswerRe: .Net app crashes on startup Pin
#realJSOP31-Oct-08 0:23
professional#realJSOP31-Oct-08 0:23 
Questionenterprise application...? Pin
DavidRF29-Oct-08 1:57
DavidRF29-Oct-08 1:57 
GeneralRe: enterprise application...? Pin
Simon P Stevens29-Oct-08 5:41
Simon P Stevens29-Oct-08 5:41 
AnswerRe: enterprise application...? Pin
Mark Churchill2-Nov-08 14:48
Mark Churchill2-Nov-08 14:48 
QuestionNot able to create bluetooth socket on wince device - HP iPAQ Pin
yudhisthira28-Oct-08 18:55
yudhisthira28-Oct-08 18:55 
QuestionAssigning a custom TypeConverter to array of ushort in the property grid Pin
jonesst9928-Oct-08 8:23
jonesst9928-Oct-08 8:23 
QuestionSOAP Timeout Pin
Patje27-Oct-08 23:41
Patje27-Oct-08 23:41 
I have an application that behaves as a SOAP server, using the ChannelServices::RegisterChannel and RemotingConfiguration::RegisterWellKnownServiceType calls.
Although my SOAP service will not be called intensively by clients, it is still possible that it gets a burst of a few hundreds of calls at the same time.

Problem is that the logic in the SOAP service typically take 5 to 10 seconds, and cannot be executed in parallel (complex mathematical calculations, results of one SOAP call may influence the results of later SOAP calls, it's a bit difficult to explain all the underlying details of it).
In normal situations this is not a problem since the SOAP timeout is typically about 100 seconds.
However, if I get a burst of 100 SOAP calls at the same time, some of them will get a timeout (which is acceptable). The real problem is that I cannot see in the server that the client has got a timeout, which means that the server will go on performing its calculations (or the calculations needed for the SOAP call will be queued) even if the client is not there anymore, and the results cannot be sent to it anymore.

If I would be able to see that the client is not there anymore, I could abort the calculations, or I could remove the pending calculations from the queue again.
I've looked in the .Net API but I haven't found a way yet to see if the client is still there or not.
Is there an easy way to obtain this information?
Or should I start to investigate asynchronously SOAP calls, or any other complex concept?
Any code examples that might help?

Thanks.
Patje

Enjoy life, this is not a rehearsal !!!


AnswerRe: SOAP Timeout Pin
Mark Churchill28-Oct-08 14:35
Mark Churchill28-Oct-08 14:35 
GeneralRe: SOAP Timeout Pin
Patje28-Oct-08 22:23
Patje28-Oct-08 22:23 
QuestionUnicode Pin
Hooman12327-Oct-08 3:55
Hooman12327-Oct-08 3:55 
AnswerRe: Unicode Pin
Luc Pattyn27-Oct-08 6:12
sitebuilderLuc Pattyn27-Oct-08 6:12 
QuestionRe: Unicode Pin
Mark Salsbery27-Oct-08 6:31
Mark Salsbery27-Oct-08 6:31 
GeneralRe: Unicode Pin
Luc Pattyn27-Oct-08 6:42
sitebuilderLuc Pattyn27-Oct-08 6:42 
GeneralRe: Unicode Pin
Mark Salsbery27-Oct-08 6:46
Mark Salsbery27-Oct-08 6:46 
QuestionAsynchronous messaging with web service Pin
Metal7625-Oct-08 0:55
Metal7625-Oct-08 0:55 
AnswerRe: Asynchronous messaging with web service Pin
Wendelius25-Oct-08 2:19
mentorWendelius25-Oct-08 2:19 
QuestionFetching values from GAL using Outlook Component [modified] Pin
Vipul Mehta23-Oct-08 22:48
Vipul Mehta23-Oct-08 22:48 
QuestionUNC (Uniform naming convention) paths Pin
pacoxl23-Oct-08 4:28
pacoxl23-Oct-08 4:28 
QuestionRe: UNC (Uniform naming convention) paths Pin
led mike23-Oct-08 5:54
led mike23-Oct-08 5:54 
AnswerRe: UNC (Uniform naming convention) paths Pin
pacoxl23-Oct-08 6:18
pacoxl23-Oct-08 6:18 
QuestionGuard Conditions and Control Enablement Pin
Tristan Rhodes23-Oct-08 2:59
Tristan Rhodes23-Oct-08 2:59 
QuestionRe: Guard Conditions and Control Enablement Pin
led mike23-Oct-08 5:20
led mike23-Oct-08 5:20 
AnswerRe: Guard Conditions and Control Enablement [modified] Pin
Tristan Rhodes23-Oct-08 5:58
Tristan Rhodes23-Oct-08 5:58 
GeneralRe: Guard Conditions and Control Enablement Pin
Pete O'Hanlon23-Oct-08 22:06
mvePete O'Hanlon23-Oct-08 22:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.