File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes AJAX - web services calls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "AJAX - web services calls" Watch "AJAX - web services calls" New topic
Author

AJAX - web services calls

sanker san
Ranch Hand

Joined: Dec 17, 2004
Posts: 56
How do I make web service calls from javascript?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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: http://pascarello.brinkster.net/basicAjaxExample/

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.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AJAX - web services calls
 
Similar Threads
Pagination & Session Management
discarding database roundtrips
Get Data from another server
Can we have conversational call over asynchronous call
Couple the Sequence to make coarser calls