PDA

View Full Version : Making a cross domain http call which returns xml as response



sandhyakrishnan
23 Nov 2011, 3:17 AM
Could we Make a a cross domain http call which returns xml as response?

Best,
Sandhya

mitchellsimoens
23 Nov 2011, 11:26 AM
The only way to do cross domain Ajax calls isn't really Ajax... ScriptTagProxy and JsonP both create a <script> tag to load the external resource... I've never tried with XML as it works great with JSON but try surrounding your XML string in the callback for ScriptTagProxy to consume.