code: public String getXML()
      {
          Object root = null;
          if (m_message != null)
              root = m_message.getRawData();
          if (root != null)
          {
              try {
                  ByteArrayOutputStream out = new ByteArrayOutputStream();
                  String strSOAPPackage = (String)((TrxMessageHeader)this.getMessage().getMessageHeader()).get(SOAPMessageTransport.SOAP_PACKAGE);
      
                  Marshaller m = JaxbContexts.getJAXBContexts().getMarshaller(strSOAPPackage);
                  if (m == null)
                      return null;
                  synchronized(m)
                  {   // Since the marshaller is shared (may want to tweek this for multi-cpu implementations)
                      m.marshal( root, out );
                  }
                  String strXML = out.toString(Constants.STRING_ENCODING);
                  return strXML;
              } catch (IOException ex)  {
                  ex.printStackTrace();   // Never
              } catch (JAXBException ex)   {
                  ex.printStackTrace();
              } catch (java.lang.IllegalArgumentException ex)   {
                  ex.printStackTrace();
              }
          }
          return null;
      }
docs: Convert this tree to a XML string.
  Override this.
  @return The dom tree.