SIMULTANEOUS API EXPOSURE FOR MESSAGES
First Claim
1. In a distributed messaging system, a method of simultaneously exposing a message infoset as both an XML view and a Type view such that at least a portion of the message infoset can be written using an XML API and read using a Type API in order to efficiently process values of the message infoset, the method comprising:
- receiving a message infoset written using an XML writer, the message infoset including a common set of headers that exposes one or more values as both XML and typed properties; and
retrieving the one or more values using a Typed API, which can read one or more of the type properties without regard to how the message is encoded using XML.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein provide for a message object that simultaneously exposes an XML view and Type view for a message infoset. In this embodiment, interaction with a message can occur using either an XML or Type application program interface (API), which are synced. More specifically, embodiments herein provide or expose a common set of headers (e.g., SOAP headers) as “typed” properties (e.g., CLR properties), which allow for getting and/or setting a value thereof In other words, the Type API reads/writes values for typed properties without regard to how the message is encoded with XML. Moreover, the two APIs are synced such that a value can be set using one API and retrieved using the other. For example, an XML API may be used as a writing mechanism for interacting with a value, while the Type API can read that same value, and vise-versa.
107 Citations
13 Claims
-
1. In a distributed messaging system, a method of simultaneously exposing a message infoset as both an XML view and a Type view such that at least a portion of the message infoset can be written using an XML API and read using a Type API in order to efficiently process values of the message infoset, the method comprising:
-
receiving a message infoset written using an XML writer, the message infoset including a common set of headers that exposes one or more values as both XML and typed properties; and retrieving the one or more values using a Typed API, which can read one or more of the type properties without regard to how the message is encoded using XML. - View Dependent Claims (2, 3)
-
-
4. In a distributed messaging system, a method of simultaneously exposing a message infoset as both an XML view and a Type view such that at least a portion of the message infoset can be written using a Type API and read using an XML API in order to efficiently process values of the message infoset, the method comprising:
-
receiving a message infoset that includes a common set of headers that exposes one or more values as both XML and typed properties, wherein the type properties are set using a Typed API; and retrieving the one or more values using an XML reader, which reads the type properties as encoded XML. - View Dependent Claims (5, 6, 7, 8)
-
-
9. In a distributed messaging system, a computer program product for implementing a method of simultaneously exposing a message infoset as both an XML view and a Type view such that at least a portion of the message infoset can be written using a Type API and read using an XML API in order to efficiently process values of the message infoset, the computer program product comprising one or more computer readable media having stored thereon computer executable instructions that, when executed by a processor, can cause the distributed messaging system to perform the following:
-
receive a message infoset that includes a common set of headers that exposes one or more values as both XML and typed properties, wherein the type properties are set using a Typed API; and retrieve the one or more values using an XML reader, which reads the type properties as encoded XML. - View Dependent Claims (10, 11, 12, 13)
-
Specification