Method for updating XML schema registry using schema pass by value with message
AssigneeInternational Business Machines Corporation
InventorsChristopher Shane Claussen, Zeenat Kulkarni, Yang Zhong
Life of this patent
Estimating the term…
Abstract
Schema information is provided with transmission of a data object. When a data object is converted to a transmission format, schema information for the object type is added to the transmission format element. The unmarshaling code uses the schema information to update a schema registry at the receiving end. The schema registry is used as a tool for converting the transmission format element back to the data element. The next time an object of that object type is sent to the recipient, the schema information is not added to the transmission format element.
Claims8
A method, in a data processing system, for transmitting a data object, the method comprising:
- marshaling a first data object into a first transmission format element, wherein the first data object is of a first type;
- adding schema information to the first transmission format element;
- sending the first transmission format element from a sender to a recipient;
- receiving the first transmission format element at the recipient;
- extracting the schema information from the first transmission format element;
- unmarshaling the first transmission format element into the first data object at the recipient based on the schema information;
- updating a schema registry at the recipient with the schema information, wherein the schema registry is composed of a plurality of schema registries, and wherein each of the plurality of schema registries correspond to a different scope;
- marshaling a second data object into a second transmission format element;
- and
- responsive to the second data object being of the first type, sending the second transmission format element without the schema information.
Dependencies are inferred from the claim text.