what happen if the url for webservice is wrong

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
Back
Top