code: @Override
      public byte[] getObjectXML(String pid) {
          assertInitialized();
          try {
              MessageContext ctx = context.getMessageContext();
              InputStream in =
                      m_management.getObjectXML(ReadOnlyContext
                              .getSoapContext(ctx), pid, "UTF-8");
              ByteArrayOutputStream out = new ByteArrayOutputStream(2048);
              pipeStream(in, out);
              return out.toByteArray();
          } catch (Throwable th) {
              LOG.error("Error getting object XML", th);
              throw CXFUtility.getFault(th);
          }
      }
docs: /*
  (non-Javadoc)
  @see org.fcrepo.server.management.FedoraAPIMMTOM#getObjectXML(String pid
  )*