Example #1
0
 public override XmlDocument RequestWebService(ResquestParams rp)
 {
     if (_xmlNamespaces.ContainsKey(rp.URL))
     {
         return(QuerySoapWebService(rp.URL, rp.MethodName, rp.Parames, _xmlNamespaces[rp.URL].ToString()));
     }
     else
     {
         return(QuerySoapWebService(rp.URL, rp.MethodName, rp.Parames, GetNamespace(rp.URL)));
     }
 }
 /// <summary>
 /// 请求WebService
 /// </summary>
 /// <param name="URL">WebService的路径</param>
 /// <param name="MethodName">方法名</param>
 /// <param name="Pars">参数</param>
 /// <returns></returns>
 abstract public System.Xml.XmlDocument RequestWebService(ResquestParams rp);