<script type="text/javascript">
function fun1() {  
    $(dd2).load("http://219.245.18.191/rs/Admin/index.php?s=/Api/api", getPostData());
} //定义满足SOAP协议的参数。
function getPostData()
{
//根据WSDL分析sayHelloWorld是方法名,parameters是传入参数名
var soap_str = "";
soap_str+=("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
            soap_str+=("<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">");
            soap_str+=("<soap:Body>");
            soap_str+=("<getLastestResource xmlns=\"http://WebXml.com.cn/\">");
            soap_str+=("<number>10</number>")
            soap_str+=("</getLastestResource>");
            soap_str+=("</soap:Body>");
            soap_str+=("</soap:Envelope>");
return soap_str;

</script><input type="button" onclick="fun1()" />
<div id="dd2"></div>也没报什么错 就是没有结果