code: JMFSchema[] getEncodingSchemas() throws MessageEncodeFailedException {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "getEncodingSchemas");
      JMFSchema[] result;
      try {
        JMFSchema[] result1 = ((JMFMessage)headerPart.jmfPart).getSchemata();
        JMFSchema[] result2 = null;
        int resultSize = result1.length;
        if (payloadPart != null) {
          result2 = ((JMFMessage)payloadPart.jmfPart).getSchemata();
          resultSize += result2.length;
        }
        result = new JMFSchema[resultSize];
        System.arraycopy(result1, 0, result, 0, result1.length);
        if (payloadPart != null) {
          System.arraycopy(result2, 0, result, result1.length, result2.length);
        }
      } catch (JMFException e) {
        // Dump whatever we can of both message parts
        FFDCFilter.processException(e, "com.ibm.ws.sib.mfp.impl.JsMsgObject.getEncodingSchemas", "jmo700", this,
            new Object[] {
              new Object[] { MfpConstants.DM_MESSAGE, headerPart.jmfPart, theMessage },
              new Object[] { MfpConstants.DM_MESSAGE, payloadPart.jmfPart, theMessage }
            }
          );
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) SibTr.debug(this, tc, "getEncodingSchemas failed: " + e);
        throw new MessageEncodeFailedException(e);
      }
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "getEncodingSchemas");
      return result;
    }
docs: Get a list of the JMF schemas needed to decode this message
  
  @return A list of JMFSchemas