'Cross domain Post method ajax call using jQuery with XML response

I want to send a ajax request using post method with the XML as a response text, Is it possible, If it is possible please let me know the possible way for it.

For Ex

url : "http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate"
data : {FromCurrency:"INR",ToCurrency:"AUD"}
method : GET or POST

http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=INR&ToCurrency=AUD

I need the response of this URL using ajax.



Solution 1:[1]

You can write your own script on server on the same domain that does request to the webservicex.net and returns data in any format that you want.

So, ajax request -> your server (on the same domain) -> webservicex.net

Solution 2:[2]

It seems that server does not support CORS. Then you won't be able to do this with an ajax call due to the same origin policy

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 maxwell
Solution 2 bart s