读书人

有哪些简单好用的WebService测试工具?

发布时间: 2012-03-27 13:44:24 作者: rapoo

有哪些简单好用的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&param2=value2 ");
}
</script>

读书人网 >XML SOAP

热点推荐