code: public String getXML(boolean bIncludeHeader)
      {
          StringBuffer sbXML = new StringBuffer();
          String rootTag = ROOT_TAG;
          if (this.getMessageDataDesc(null) != null)
          	if (this.getMessageDataDesc(null).getKey() != null)
          		rootTag = this.getMessageDataDesc(null).getKey();
          Util.addStartTag(sbXML, rootTag).append(Constant.RETURN);
          Util.addXMLMap(sbXML, this.getMap());
          if (bIncludeHeader)
              if (this.getMessageHeader() != null)
                  this.getMessageHeader().addXML(sbXML);
          Util.addEndTag(sbXML, rootTag);
          return sbXML.toString();
      }
docs: Get the message data as a XML String.
  @return The XML String.