有哪些简单好用的WebService测试工具?
如题
[解决办法]
<script language= "javascript ">
var xmlhttp = null;
function Invoke()
{
xmlhttp = new ActiveXObject( "Microsoft.XMLHTTP ");
xmlhttp.open( "POST ", "http://server/service.asmx/method_name ", true);
xmlhttp.onreadystatechange = function() {
if(xmlhttp.readyState == 4)
{
alert(xmlhttp.responseText);
}
};
xmlhttp.setRequestHeader( "Content-Type ", "application/x-www-form-urlencoded ");
xmlhttp.send( "param1=value1¶m2=value2 ");
}
</script>