public ShipDateReturn GetShipDates(UserSelectedContext customerInfo)
        {
            ShipDateReturn retVal = new ShipDateReturn();

            try {
                System.IO.StringWriter requestBody = new System.IO.StringWriter();
                GetRequestBody(customerInfo.BranchId, customerInfo.CustomerId).WriteXml(requestBody);

                com.benekeith.ShipDateService.ShipDateSoapClient shipdayService = new com.benekeith.ShipDateService.ShipDateSoapClient();

                ShippingDateResponseMain             response    = GetResponse(shipdayService.GetShipDates(requestBody.ToString()));
                ShippingDateResponseMain.CustomerRow customerRow = response.Customer[0];

                foreach (ShippingDateResponseMain.ShipDateRow shipDates in response.ShipDate)
                {
                    DateTime workDate = DateTime.Parse(shipDates.ShipDate_Column);

                    retVal.ShipDates.Add(new ShipDate()
                    {
                        CutOffDateTime = GetCutOffTime(workDate, customerRow.CutOffTime),
                        Date           = workDate.ToString("yyyy-MM-dd"),
                        DayOfWeek      = GetDayOfWeek(workDate)
                    });
                }
            } catch {
            }

            return(retVal);
        }
        /// <summary>
        /// convert the output to an xml schema
        /// </summary>
        /// <param name="rawXml">the string returned from the service</param>
        /// <returns>ShippingDateResponseMain xml schema</returns>
        /// <remarks>
        /// jwames - 10/7/2014 - original code
        /// </remarks>
        private ShippingDateResponseMain GetResponse(string rawXml)
        {
            System.IO.StringReader responseBody = new System.IO.StringReader(rawXml);

            ShippingDateResponseMain response = new ShippingDateResponseMain();

            response.ReadXml(responseBody, System.Data.XmlReadMode.IgnoreSchema);

            return(response);
        }