/// <summary>
        /// Adds the request header.
        /// </summary>
        /// <param name="soapHeader">The SOAP header.</param>
        /// <param name="requestHeader">The request header.</param>
        private void AddRequestHeader(XmlElement soapHeader, RequestHeader requestHeader)
        {
            const string TNS_PREFIX    = "tns";
            string       TNS_NAMESPACE = requestHeader.TargetNamespace;

            string requestHeaderXml = string.Join("\n", new string[] {
                "<" + TNS_PREFIX + ":RequestHeader xmlns:" + TNS_PREFIX + "='" + TNS_NAMESPACE + "'>",
                "<" + TNS_PREFIX + ":applicationName>" + requestHeader.ApplicationName + "</" +
                TNS_PREFIX + ":applicationName>",
                "</" + TNS_PREFIX + ":RequestHeader>"
            });
            XmlDocumentFragment requestHeaderNode = soapHeader.OwnerDocument.CreateDocumentFragment();

            requestHeaderNode.InnerXml = requestHeaderXml;
            soapHeader.AppendChild(requestHeaderNode);
        }
        /// <summary>
        /// Adds the request header.
        /// </summary>
        /// <param name="soapHeader">The SOAP header.</param>
        /// <param name="requestHeader">The request header.</param>
        private void AddRequestHeader(XmlElement soapHeader, RequestHeader requestHeader)
        {
            const string TNS_PREFIX = "tns";
              string TNS_NAMESPACE = requestHeader.TargetNamespace;

              string requestHeaderXml = string.Join("\n", new string[] {
              "<" + TNS_PREFIX + ":RequestHeader xmlns:" + TNS_PREFIX + "='" + TNS_NAMESPACE + "'>",
            "<" + TNS_PREFIX + ":applicationName>" + requestHeader.ApplicationName + "</" +
                TNS_PREFIX + ":applicationName>",
              "</" + TNS_PREFIX + ":RequestHeader>"
              });
              XmlDocumentFragment requestHeaderNode = soapHeader.OwnerDocument.CreateDocumentFragment();
              requestHeaderNode.InnerXml = requestHeaderXml;
              soapHeader.AppendChild(requestHeaderNode);
        }
 /// <summary>
 /// Gets the request header.
 /// </summary>
 /// <returns>The request header.</returns>
 private RequestHeader GetRequestHeader()
 {
     DfaAppConfig config = (DfaAppConfig) base.Config;
       RequestHeader reqHeader = new RequestHeader();
       reqHeader.ApplicationName = config.GetUserAgent();
       return reqHeader;
 }