A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
AJAX - web services calls
Joined: Dec 17, 2004
Nov 15, 2005 11:26:00
Joined: Nov 08, 2001
Nov 15, 2005 14:39:00
Right now you can only make Web Service calls with the XMLHttpRequest object if it is sitting on the same domain. The basic example I created real quick today takes an xml document:
You can easily change this to call a web service that returns this document.
If you want to talk to an outside domain, make the request on the server and cache it there. Use that data and pass it to the client.
I agree. Here's the link:
subject: AJAX - web services calls
Can we have conversational call over asynchronous call
discarding database roundtrips
Couple the Sequence to make coarser calls
Pagination & Session Management
Get Data from another server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014