SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Soap
-
Oct 30, 2008, 08:33 #1
- Join Date
- Jun 2006
- Location
- Durban, South Africa
- Posts
- 287
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Soap
Hi all
Is there any way to cancel a soap request?
I am currently using nusoap, to create soap servers, and I found a javascript soap client, to call the servers, but what happens if the request is taking to long, is there any way to cancel the request?
Any help will be appreciated
Thanks
-
Oct 31, 2008, 05:20 #2
- Join Date
- Jun 2006
- Location
- Durban, South Africa
- Posts
- 287
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi all
There is a way to cancel a soap request, abort();
The only problem with using it, is you could get the situation where you abort your request, but its still being processed server side. If you soap servers adds or deletes from a data base, you could end up with a situation where you have aborted, and thus displayed a message that the request took to long and was aborted to the user, but was actually processed in the background.
Has anybody else had similar problems?
Bookmarks