What is the proper way to call a ASMX Web Service with MicrosoftAjax.js if your just including the JavaScript in static HTML?
What I have so far:
<html>
<head>
<title>Testing</title>
<script type="text/javascript" src="scripts/MicrosoftAjax.js"></script>
<script type="text/javascript">
function testCallSoap() {
// in here I want to call the default HelloWorld() method
// it is located at ~/MyTestService.asmx
}
</script>
</head>
<body>
<div>
<span onclick="testCallSoap();">test</span><br />
</div>
</body>
</html>