Flexibly transferring typed application data
First Claim
1. A first computer system, comprising:
- at least one processing unit; and
at least one system memory communicatively coupled to the at least one processing unit and comprising computer-readable instructions that when executed by the at least one processing unit perform a method of converting typed application data into a Simple Object Access Protocol (SOAP) format, the method comprising;
an act of storing by the first computer system a typed data object, wherein the typed data object defines a method associated with a first portion of a distributed application, wherein the typed data object comprises;
typed application data comprising at least one typed object parameter for invoking the method, wherein the at least one typed object parameter is in a format compatible with the first portion of the distributed application and with a second portion of the distributed application on a second computer system; and
at least one message contract attribute of a message contract model, wherein the at least one message contract attribute annotates the typed data object such that the at least one message contract attribute is adjacent to the at least one typed object parameter, wherein the at least one message contract attribute defines a mapping between the at least one typed object parameter and a corresponding SOAP element, and wherein the at least one message contract attribute specifies a location within a SOAP envelope for inserting the corresponding SOAP element;
an act of accessing the typed data object;
an act of mapping the at least one typed object parameter to the corresponding SOAP element by referring to the at least one message contract attribute that annotates the accessed typed data object;
an act of inserting the corresponding SOAP element into the location within the SOAP envelope in accordance with the at least one message contract attribute; and
an act of transmitting the SOAP envelope to the second portion of the distributed application on the second computer system.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention extends to using Simple Object Access Protocol (“SOAP”) to exchange typed objects, such as, for example, parameters for invoking methods. A computer system accesses typed object parameters corresponding to a typed object. The typed object is annotated with one or more message contract attributes of a message contract model defining a mapping between typed object parameters and corresponding SOAP elements. The computer system utilizes the message contract attributes to map the typed object parameters into a SOAP element and inserts the SOAP element into a SOAP envelope. A receiving computer system accessing the SOAP element and utilizes the message contract attributes to map the SOAP element back into the typed object parameters.
152 Citations
30 Claims
-
1. A first computer system, comprising:
-
at least one processing unit; and at least one system memory communicatively coupled to the at least one processing unit and comprising computer-readable instructions that when executed by the at least one processing unit perform a method of converting typed application data into a Simple Object Access Protocol (SOAP) format, the method comprising; an act of storing by the first computer system a typed data object, wherein the typed data object defines a method associated with a first portion of a distributed application, wherein the typed data object comprises; typed application data comprising at least one typed object parameter for invoking the method, wherein the at least one typed object parameter is in a format compatible with the first portion of the distributed application and with a second portion of the distributed application on a second computer system; and at least one message contract attribute of a message contract model, wherein the at least one message contract attribute annotates the typed data object such that the at least one message contract attribute is adjacent to the at least one typed object parameter, wherein the at least one message contract attribute defines a mapping between the at least one typed object parameter and a corresponding SOAP element, and wherein the at least one message contract attribute specifies a location within a SOAP envelope for inserting the corresponding SOAP element; an act of accessing the typed data object; an act of mapping the at least one typed object parameter to the corresponding SOAP element by referring to the at least one message contract attribute that annotates the accessed typed data object; an act of inserting the corresponding SOAP element into the location within the SOAP envelope in accordance with the at least one message contract attribute; and an act of transmitting the SOAP envelope to the second portion of the distributed application on the second computer system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A computer-implemented method for converting typed application data into a Simple Object Access Protocol (SOAP) format, the method comprising:
-
an act of storing by a first computer system a typed data object, wherein the typed data object defines a method associated with a first portion of a distributed application, wherein the typed data object comprises; typed application data comprising at least one typed object parameter for invoking the method, wherein the at least one typed object parameter is in a format compatible with the first portion of the distributed application and with a second portion of the distributed application on a second computer system; and at least one message contract attribute of a message contract model, wherein the at least one message contract attribute annotates the typed data object such that the at least one message contract attribute is adjacent to the at least one typed object parameter, wherein the at least one message contract attribute defines a mapping between the at least one typed object parameter and a corresponding SOAP element, and wherein the at least one message contract attribute specifies a location within a SOAP envelope for inserting the corresponding SOAP element; an act of accessing the typed data object; an act of mapping the at least one typed object parameter to the corresponding SOAP element by referring to the at least one message contract attribute that annotates the accessed typed data object; an act of inserting the corresponding SOAP element into the location within the SOAP envelope in accordance with the at least one message contract attribute; and an act of transmitting the SOAP envelope to the second portion of the distributed application on the second computer system. - View Dependent Claims (25, 26, 27, 28, 29, 30)
-
Specification