There's a web service, for example this http://www.w3schools.com/webservices/tempconvert.as开发者_StackOverflow社区mx
How to invoke its web methods from javascript?
Due to same origin policy restriction you cannot invoke it with javascript as this web service is not hosted on the domain where your script will be served from. In order to invoke it you will need to setup a server side script on your domain which invokes the service and then send an AJAX request to your script.
精彩评论