An AJAX call to an SQL Anywhere Server using stored procedures and web services
AJAX has dominated the web space so extensively that it needs no introduction. Connecting to a server via XMLHttpRequest and making a partial page refresh is what makes this technique so attractive. However, use of these AJAX requests, although very attractive, can pose dangers as well. JavaScript acts as a vector to infect websites with worms, such as SAMY, using cross-site scripting, also known as CSS or XSS.
In a previous article - "Enabling Server data with native web service" - I explain how a web service of type HTML is created on the SQL Anywhere server, which can serve HTML pages, and that to make an AJAX call for this page from your browser, you need to make a call to the hosting domain, the SQL Anywhere Web Server.
Read more at...
http://ajax.sys-con.com/node/646922
If you liked this article you may also want to read the one at.....
http://hodentek.blogspot.com/2008/07/soap-web-service-with-sql-anywhere.html
and the other related article at.....
http://hodentek.blogspot.com/2008/01/enabling-server-data-with-native-web.html
No comments:
Post a Comment