Re: Calling web services from .NET



I think this can be possible by utilizing a timer in your ASP page for
a set interval.
Eveytime the interval laspses, it comes back to the timer and calls the
webservice again if the response results are not yet received.
You can also use waitforresponse property on the HTTP request object
and check for readystate of the HTTP request object in addition to the
timer.

Hope this helps.
Ramya

Scott Baierl wrote:
I have an ASP.NET application that calls web services on another host. Is
there a way that you can control the lifetime of the underlying TCP
connections that .NET uses to make the web service calls? From what I
understand, by default, .NET is configured to use a maximum of two
connections, and those connections stay open for up to 100 seconds after the
last data was sent/received. Is there a way to control the lifetime of
those underlying connections? In other words, can I have .NET use a
different connection for each request, or, time out the existing connection
quickly, so that it needs to create a new connection more often than the 100
second default timeout? Thanks in advance.

.



Relevant Pages

  • Re: Washing machine schematic, OT.
    ... How could the connections become incorrect? ... position lug on the new timer box. ... timer replacement. ... roo cullers, ...
    (rec.audio.tubes)
  • Re: Washing machine schematic, OT.
    ... but the fuckin Hoover timer ... How could the connections become incorrect? ... I tried several terminals for the wire that had ... There is a real argy bargy going on amoung roo lovers and roo cullers, ...
    (rec.audio.tubes)
  • Re: timout on line of code
    ... Use a Timer to call System.exitif it waits too long. ... >>Knute Johnson ... You could try using some other form of socket to ... satisfactory if only a small percentage of your connections actually hang. ...
    (comp.lang.java.programmer)
  • Re: Connection Weirdness
    ... My business object code does no threading but this app ... code off it is in a separate thread from the previous timer event. ... the connections in the pool will be closed after a period ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Calling web services from .NET
    ... Dim myResult As Integer ... there a way that you can control the lifetime of the underlying TCP ... connections that .NET uses to make the web service calls? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)