I have a problem accessing the Webservice from a html file.
For this I am Creating a copy of the JavaScript file generated by the webservice
http://URL of webservice/Service.asmx/js
I am saving the file generated as proxy.js.
Now when I run the following code, on the same server, where the web service lives, every thing is fine.
But when the page consuming the web service is on some other server I am getting the error.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Calling a Service</title>
<script src="MicrosoftAjax.js"type="text/javascript" language="javascript"></script>
<script s ...
Go to the complete details ...