Making Soap based web service calls with Ajax
I have been preparing a presentation for my local user group on Ajax. Part of my presentation will be on REST vs. SOAP based RPC calls. One of the arguments against using SOAP based web service calls is that it is too hard to make SOAP calls using the XMLHTTPRequest object. I have not found this to be the case. The trick to making SOAP calls with XMLHTTPRequest object is setting the right request headers before making the call. SOAP calls sould also be made as a post rather than a get. Here is an example below; xmlhttp.open("POST",url,true); // set
Read comments or post a reply to : Making Soap based web service calls with Ajax