/// <summary> /// Adds the XML Namespaces neccessary to make BillPay SOAP requests /// </summary> /// <param name="et">The element tree for the SOAP request</param> private void AddXMLNS(ElementTree et) { et.AddNamespace("soapenv", @"http://schemas.xmlsoap.org/soap/envelope/"); et.AddNamespace("bil", @"https://test.heartlandpaymentservices.net/BillingDataManagement/v3/BillingDataManagementService"); et.AddNamespace("bdms", @"http://schemas.datacontract.org/2004/07/BDMS.NewModel"); et.AddNamespace("hps", @"http://schemas.datacontract.org/2004/07/HPS.BillerDirect.ACHCard.Wrapper"); et.AddNamespace("pos", @"http://schemas.datacontract.org/2004/07/POSGateway.Wrapper"); et.AddNamespace("bdm", @"https://test.heartlandpaymentservices.net/BillingDataManagement/v3/BDMServiceAdmin"); }