RE: what happen if the url for webservice is wrong

From: Opa (Opa_at_discussions.microsoft.com)
Date: 01/20/05


Date: Thu, 20 Jan 2005 13:21:03 -0800

Hi Victor,

I am new to web services and have the same issue. Primarily that the
connection
takes a very, very long time, even if the url is correct. Eventually, I get
my data, but it's very slow the first time. Subsequent requests are fast.

Does anyone know why the first connect request takes so long?

Opa

"victor" wrote:

> hi
> i am currently writing a small program in the pda. i use webservice to check
> the user name and password. The problem if the url for the webservice is
> wrong(for example a internal ip address), the pda will take a long time to
> search the incorrect address.
> How can i set the certain time for the webservice? like if i let pda search
> the url for about 10 Second, if it doesnt finish in 10 sencond, then throws
> exception
>
> i tried webservice.timeout, but it didnt work at all
>
> thank you



Relevant Pages

  • what happen if the url for webservice is wrong
    ... i am currently writing a small program in the pda. ... The problem if the url for the webservice is ... like if i let pda search ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: .net cf & webservices
    ... a webservice on the PDA it should have the same session id? ... the webservice instance is the same all thats ... > instance of Internet explorer from your start menu ie. Internet explorer ...
    (microsoft.public.dotnet.framework.compactframework)
  • Queue of Threads
    ... What I want to do is for using with a PDA, but I think it's a VB.NET ... related question, ... As the process to the webservice can take many seconds, ... don't let execute the next thread until the previous has finished. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Queue of Threads
    ... Jordi Rico wrote: ... > What I want to do is for using with a PDA, but I think it's a VB.NET ... > related question, ... > has to send data to a server via webservice. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: .net cf & webservices
    ... > pda. ... Everytime you call your webservice from the PDA, ... instance of Internet explorer from your start menu ie. Internet explorer ... will not get the same session as the other window. ...
    (microsoft.public.dotnet.framework.compactframework)