var sr = "<?xml version=\"1.0\" encoding=\"utf-8\"?>" +
"<soap:Envelope " +
"xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" " +
"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" " +
"xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">" +
"<soap:Body>" +
"<" + 方法名+ " xmlns=\"http://tempuri.org/\">" +
参数+
"</" + 方法名+ "></soap:Body></soap:Envelope>";
 var xhr = Ajax.Webservice.CreateXhrObject();//创建对象
        xhr.onreadystatechange = function() {
            if (xhr.readyState == 4) {
                if (xhr.status == 200) {
                       //成功
                } else {
                        //失败
                }
            }
        }
        xhr.open("Post", webservice路径, true);
        xhr.setRequestHeader("Content-Type", "text/xml;charset=utf-8");
        xhr.send(sr);//我是用以上代码调用的webservice,如果传参的话参数不能传过去,不传参就没什么问题,可以正确请求webservice
//如果我要以这种形式调用webservice 并且send一个xml传参,请问在webservice里面怎么设置,或者引用什么组件?
//web.config里面怎么配置
//总的来说就是如何以这种形式调用webservice,我怎么配置才能把参数正确传过去.并能正确计算后返回来,哪位大虾请指教一下