Endeavors Header
See Who's using Magi right now

Endeavors Technology, Inc.

How do I build a Service?  What standard methods do I use?

Magi defines a standard generic-interface such that a client or server can discover information about the types of electronic services it provides.  This interface is made up of a set of HTTP-based protocol methods that are commonly supported in a variety of implementatons. Several particular methods Magi supports are:

HTTP Methods: (RFC 2616)

  • OPTIONS - (9.2) Let the client determine the communication requirements of the server without initiating a retrieval.
  • GET - (9.3) Retrieve whatever data that is identified by a request.
  • HEAD - (9.4)  Return GET information without the message body.
  • POST - (9.5) Perform an action on the server that may create a resource using the Request-URI.
  • PUT - (9.6) Create a resource at the Request
  • DELETE - (9.7) Delete the resource identified by the Request-URI
  • TRACE - (9.8) Invoke an application-layer acknowledgement.
  • CONNECT - (9.9) Reserved method for tunnel requests to a proxy.

WebDAV Methods:(RFC 2518)

  • PROPFIND - (8.1) Retrieve the properties associated with a resource.
  • PROPPATCH - (8.2) Process an instructions to set or remove a property.
  • MKCOL - (8.3)  Create a new collection.
  • COPY - (8.8) Create a duplicate of a resource.
  • MOVE - (8.9) Move a resource to the specified location.
  • LOCK - (8.10) Lock access to a resource.
  • UNLOCK - (8.11) Remove a lock from a resource.

What other methods are you planning on supporting?

Magi plans on supporting the methods of many current and ongoing HTTP extension projects.  Some currently unimplmented examples inlcude:


  • NOTIFY - Send an event to a specific destination.
  • PUBLISH - Broadcast an event to a particular channel that matches some filtering criteria.
  • SUBSCRIBE - Listen to a particular channel defined by some filtering criteria.
  • FILTER - Apply a filter to an event or event collection and return only the relevant notifications.
  • SEARCH - Invoke a server-side query.


  • LOGON, LOGOFF - Asserting & retracting presence information.


  • CREATE, SETUP - Setup and create the server-side environment to support a long-duration electronic service.
  • RUN, INVOKE - Intiate a server-side service.
  • HISTORY - Retrive the change, log, or transaction history of a resource or service.
  • COMPLETE - Notify a resource that a remote service has completed with results.
  • TERMINATE - Cancel a remote service.

Commerce & Costing:

  • ESTIMATE - Request a cost estimate from a server for invoking a service.
  • EXAMINE - Examine the ongoing cost factors/bill-to-date of a running service.

Services, Leasing, & Transactions:

  • REGISTER/UNREGISTER - Announce the availability of a service.
  • COMMIT  - Confirm and initiate a set of changes or service invocation.
  • ROLLBACK - Reset resource or service values to a previous point in their history.
  • PROXY, BROKER - Intermediate a resource or service with some cost factors.



  Copyright © 2000 Endeavors Technology