什麼是調用ASMX Web服務與MicrosoftAjax.js如果你只是包括JavaScript的在靜態HTML的正確方法?MicrosoftAjax.js,SOAP Web服務和靜態HTML
我到目前爲止有:
<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>
我想你的意思是 「ASMX Web服務」 – 2009-08-12 21:28:03
注:也閱讀InfinitiesLoop的回答 – BuddyJoe 2009-08-24 23:03:20