MIME-RPC (DRAFT)

Last Update: January 7, 2002
Author: S. Alexander Jacobson

This specification documents MIME-RPC, a protocol for inter-application messaging and object serialization. .

To communicate using MIME-RPC:

  1. Send messages (requests or replies), as MIME messages (as in HTTP and E-mail).
  2. Always send a MIME-RPC: 1.0 header
  3. Use MIME types appropriate for the content sent. This specification defines new content-types:
  4. If content-type is absent, implementations should try to match the content to an above content-type and then text/plain.
  5. A number of useful types are already defined in various RFCs
  6. To call a function, send a struct associating "0" with the function name, and the other pairs as arguments.
  7. To pass function arguments by position, associate each with its number; e.g. 0=myFun&1=abc&2=def
  8. To denote a fault/exception, include a "fault:" header in your message (in HTTP, still use 200 code with faults)
  9. When using MIME-RPC over asynchronous transports:

Wire Format Examples of MIME-RPC communication are
here

Implementors and users may need or want to refer to various transport protocols:

  • HTTP
  • IMAP
  • Form based File Upload
  • SMTP
  • S/MIME
  • XML Digital Signatures
  • OpenSSL
    (c) Copyright 2001 i2x, Inc.
    MIME-RPC(tm) is a trademark of i2x, Inc.