public void GetAuth() { using (var oBinRouting = new wsBinRoutingSoapClient()) { try { var authXml = oBinRouting.ProcessByAcct(CreateInputXML(), AccountNumber); Parse(authXml); } catch (Exception ex) { Utility.LogMessage("An error occured while calling UDIAuthReq.ProcessByAcct method: " + ex.ToString()); throw; } } }
public void LookupInfoByAccountNumber(string accountNumber) { using (var oBinRouting = new wsBinRoutingSoapClient()) { try { var accountInfoXml = oBinRouting.LookupInfoByAccountNumber(accountNumber); Parse(accountInfoXml); } catch (Exception) { Utility.LogMessage("An error occured while calling UDI LookupInfoByAccountNumber method"); throw; } } }