×

Message object model

  • US 7,949,720 B2
  • Filed: 08/31/2006
  • Issued: 05/24/2011
  • Est. Priority Date: 01/31/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a distributed messaging system, a method of using a single message class which supports each of a plurality of distinct message formats to create a message object for a particular message format, the particular message format being one of the plurality of distinct message formats, the method comprising:

  • receiving a request to create a message object that is specific to a first message format, wherein the message object is a SOAP object;

    accessing a message class which supports each of a plurality of distinct message formats, each of the plurality of distinct message formats comprising a complete message in the each message format, the message class including an envelope, and the envelope comprising a first set of fields and a second set of fields,the first set of fields corresponding to the first message format and used only upon receiving a request to create a message object specific to the first message format,the second set of fields corresponding to a second message format and used only upon receiving a request to create a message object specific to the second message format;

    parsing a message contract corresponding to the request to create a message object;

    identifying contract attributes, the contract attributes defining a mapping of elements of the message class to portions of the message object;

    accessing a set of message values corresponding to the request wherein each of the set of message values is associated with a contract attribute;

    based upon the identified attributes and mapping of elements to portions of the message object, populating the first set of fields with message values according to the association with the contract attributes and the mapping of elements;

    not populating at least one field of the second set of fields which correspond to the second message format;

    creating a message object specific to the first message format, the message object comprising fields corresponding to the first message format populated with corresponding message values, and the message object omitting at least one field from the second set of fields corresponding to the a second message format; and

    creating a network protocol description language (NPDL) contract corresponding to the request, the NPDL contract defining how a client is to communicate with a service.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×