private static c1match __Call(c1match e) { _client = new Code1_SrvRef.Service1SoapClient(); string Code1response; if (e.Address2.Value == null) { e.Address2 = string.Empty; } Code1response = _client.Code1(e.Address1, e.Address2, e.Zip); e = RevenueGovXMLFactory.GetObject <COPXmlFactory.Code1AddressCheck.c1match>(Code1response); return(e); }
public static void Init() { _client = new Code1_SrvRef.Service1SoapClient(); }