Beispiel #1
0
        public string SendXML(string xml, string identify)
        {
            var wsClient = AlteraEndPoint();

            var request = new EnviarLoteEventosRequestBody();

            var responseString = "";

            try
            {
                request.loteEventos = System.Xml.Linq.XElement.Parse(xml);

                wsClient.Open();

                var response = wsClient.EnviarLoteEventos(request.loteEventos);

                responseString = Convert.ToString(response);

                wsClient.Close();
            }
            catch (Exception e)
            {
                ex.ImprimeException(1, e.Message, e, identify);
            }

            return(responseString);
        }
Beispiel #2
0
 public EnviarLoteEventosRequest(EnviarLoteEventosRequestBody Body)
 {
     this.Body = Body;
 }