web 服务函数调用频繁,请高手指点
[WebMethod]
public string execute(string forArgXml)
{
WriteToFile(System.Web.HttpContext.Current.Server.MapPath("./req.txt"), "", forArgXml); //记录访问
string rx = bll.ResponseXml(forArgXml);
WriteToFile(System.Web.HttpContext.Current.Server.MapPath("./FHBW.txt"), "", rx); //记录返回
return rx;
}
发现记录访问的数量比记录返回的数量大, bll.ResponseXml(forArgXml); 这个地方在任何时候都有值返回的。
不知道我说清楚没 请高手指点啊