AJAX calling an external webservice from the client: Difference between revisions

answer
mNo edit summary
(answer)
 
Line 12: Line 12:
In overall the easy way would be to call the external webservice on the serverside.  It is rather complex handling [[SOAP]] in javascript --[[User:Jka|Jka]] 15:03, 13 September 2007 (CEST)
In overall the easy way would be to call the external webservice on the serverside.  It is rather complex handling [[SOAP]] in javascript --[[User:Jka|Jka]] 15:03, 13 September 2007 (CEST)


I agree - handling it in the [[JavaScript]] is less than ideal, as this would be an example of [http://en.wikipedia.org/wiki/Cross-site_scripting cross site scripting] (in the sense that a script would be calling a site other than the one it was served from - OK in this context, but might be blocked by some security controls).  It will be a little slower, but in all probability this will not show up to the user.  [[User:Mikepeat|Mike]] 16:10, 22 November 2007 (CET)


== General knowledge ==
== General knowledge ==