/// <summary>
        /// Generates full request xml document
        /// </summary>
        /// <param name="webService">Web service model</param>
        /// <returns>Full document for request</returns>
        private static XmlElement BuildXmlEnvelope(WebServiceRequest webService)
        {
            XmlDocument doc = new XmlDocument();

            XmlElement   xmlEnvelope = CreateXmlElementSoapenv(doc, "Envelope");
            XmlAttribute attribute_0 = doc.CreateAttribute(attributeXmlns, prefix_0, namespaceXmlns);

            attribute_0.InnerText = namespace_0;
            xmlEnvelope.Attributes.Append(attribute_0);

            doc.AppendChild(xmlEnvelope);

            XmlElement headerNode    = CreateXmlElementSoapenv(doc, "Header");
            XmlElement bodyNode      = CreateXmlElementSoapenv(doc, "Body");
            XmlElement serviceMethod = CreateXmlElement_0(doc, webService.GetWebServiceMethod().ToString());

            xmlEnvelope.AppendChild(headerNode);
            xmlEnvelope.AppendChild(bodyNode);
            bodyNode.AppendChild(serviceMethod);
            serviceMethod.AppendChild(doc.ImportNode(BuildXmlRequest(webService), true));

            return(xmlEnvelope);
        }