web services和Htc
<!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>无标题页</title>
<script type="text/javascript">
function onload() {
c.useService("WebService1.asmx?WSDL", "ttt")
}
function check(id) {
c.ttt.callService(area_Result, "GetPersonById", id);
}
function area_Result(result) {
if (!result.error) {
alert(result.value.Px);
alert(result.value.Py);
}
else {
alert("bbb");
}
}
</script>
</head>
<body onload="return onload();">
<div id="c" style="behavior:url(webservice.htc)"></div>
<input type="button" value="aaa" onclick="check(1);" />
</body>
</html>
现在调用WebService1.asmx了 现在架到iis的了 其他机器怎么才能访问这个WebService1.asmx呢,我已经加了ip和端口以及网站名称 还是访问不到有什么方法么 我换成了"http://192.168.1.102:90/test/WebService1.asmx?WSDL"
现在ip是192.168.1.102端口90网站是test 但是调用不到WebService1.asmx 我现在建立个html怎么才能调用啊(用htc)