public void stringTESTWage() { COPXmlFactory.RTTIE027.WAGERETURN wage = COPXmlFactory.RevenueGovXMLFactory.GetWageReturn(); string str = COPXmlFactory.RevenueGovXMLFactory.GetXmlString(wage); Assert.IsNotEmpty(str); }
public void XMLTESTWageDeserialize() { System.IO.StreamReader myFile = new System.IO.StreamReader(@"E:\Sanghamitra\Projects\formXml\WageReturn.xml"); string myString = myFile.ReadToEnd(); myFile.Close(); COPXmlFactory.RTTIE027.WAGERETURN wage = COPXmlFactory.RevenueGovXMLFactory.GetObjectfromXmlStringWage(myString); wage.WAGE_INFO.ACCOUNT_ID = "333333333"; string str = COPXmlFactory.RevenueGovXMLFactory.GetXmlString(wage); }
public void WageReturn_InitTest1() { COPXmlFactory.RTTIE027.WAGERETURN xo = COPXmlFactory.RevenueGovXMLFactory.GetWageReturn(); xo.WAGE_INFO.PERIOD = "12/31/2012"; xo.WAGE_INFO.RETURN_STATUS = "INQ"; xo.WAGE_INFO.ACCOUNT_ID = "222222242"; string request = COPXmlFactory.RevenueGovXMLFactory.GetXmlString(xo); CopRevenueGov2.Helpers.RTTIE027.Init(); string x = CopRevenueGov2.Helpers.RTTIE027.CallService(request); Console.WriteLine(x); Assert.IsNotEmpty(x); }