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