public static string CallService(string Request) { COPXmlFactory.RTTIE037.BPTezReturn xo; try { xo = RevenueGovXMLFactory.GetObject <COPXmlFactory.RTTIE037.BPTezReturn>( Request); xo = __Call(xo); } catch (Exception ex) { xo = RevenueGovXMLFactory.GetBPTezReturn(); xo.ERROR_INFO = new ERROR_INFO(); xo.ERROR_INFO.ERROR = 11.ToString(); xo.ERROR_INFO.MESSAGE = ex.Message; } return(RevenueGovXMLFactory.GetXmlString(xo)); }
public static XmlDocument CallService(XmlDocument Request) { COPXmlFactory.RTTIE037.BPTezReturn acct; try { string InnerXML = Request.InnerXml; acct = RevenueGovXMLFactory.GetObject <COPXmlFactory.RTTIE037.BPTezReturn>( InnerXML); acct = __Call(acct); } catch (Exception ex) { acct = RevenueGovXMLFactory.GetBPTezReturn(); acct.ERROR_INFO = new ERROR_INFO(); acct.ERROR_INFO.ERROR = 11.ToString(); acct.ERROR_INFO.MESSAGE = ex.Message; } return(RevenueGovXMLFactory.GetXmlDocument(acct)); }