private tinprequestpay GetSingleRequestPay(string sysid) { wsINP.IwsINPClient client = new wsINP.IwsINPClient(); tinprequestpay result = null; try { List<MESParameterInfo> lstParams = new List<MESParameterInfo>() { new MESParameterInfo(){ParamName="shippingsysid",ParamValue=sysid} }; result = client.GetSingleRequestPay(baseForm.CurrentContextInfo, lstParams.ToArray<MESParameterInfo>()); } catch (Exception ex) { throw ex; } finally { baseForm.CloseWCF(client); } return result; }