Lessons With SOAP & AJAX

By On 10, Nov, 2010 |  In: Internet Marketing | Tags: ,  | 0

SOAP (Simple Object Access Protocol), allows for easy communication across the Web among different applications (1). SOAP does not have a designated platform or language and is based on XML (eXtensible Markup Language that provides a structure to describe data at any level of complexity). SOAP was created to accomplish communication over HTTP and to support applications running on different operating systems with different technologies and programming languages (3). The main feature of SOAP is that it is a W3C (World Wide Web Consortium), an international community where organizations, staff and the public collaborate to develop and enhance the growth of the Web (4).

The advantages of using SOAP are that the original metadata of an XML message is imbedded into an envelope, which helps a Web service to process the messages easily (2). Communication is easily transferred through firewalls and is versatile in using several different transport protocols (5). The disadvantages (2) are that SOAP is difficult to verify and validate XML messages that transfer between different Web applications. Because various XML applications are being used in the progression, SOAP can take longer to process. Not all languages offer appropriate support and there is difficulty in knowing if the method being used is appropriate to the operation.

AJAX (Asynchronous Javascript and XML), made up of Javascripts that are small bits of programming information, run within a web page without having to go back to the original server to reload the page. It is also much quicker to process information (1). AJAX exchanges data with a service and updates it on the web page without the hassle of retrieving the new information and refreshing the page (6). AJAX utilizes an interface where users operate the system like an application rather than a program, which automatically refreshes the page quickly as the user proceeds from one page to the other (7).

Advantages (7) of AJAX include a large bandwidth, thus the pages are able to load at a faster rate. AJAX allows information to be separated and organized into a structure on the Web page, instead of bundling data together and allowing the user to sort out the information afterwards. The disadvantages (7) include the integration of different browsers (Firefox, Safari, Internet Explorer, Netscape, etc.). Dynamic pages will not refresh automatically in the browser, thus using the “back” button won’t allow the user to return to the previous page they want. IFRAMEs, however, can help overcome this issue. This application makes invisible changes that can connect to the “back” browser button history.

Sources:

(1) Nowell, David. (2008). “Marketing on the Web.” Nowell Enterprises.

(2) http://www.devasp.net/net/articles/display/615.html

(3) http://www.w3schools.com/soap/soap_intro.asp

(4) www.w3.org

(5) http://bytes.com/topic/java/answers/879415-advantages-disadvantages-soap-over-http

(6) http://www.w3schools.com/Ajax/Default.Asp

(7) http://www.ajaxwith.com/AJAX-Advantages-and-Disadvantages.html

Please follow and like us:
RSS
Follow by Email
Facebook
Google+
http://www.wolf21.com/blog/lessons-soap-ajax/
Twitter
YouTube
Pinterest
LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *