# US 9,356,805 B2 · Implementing a plurality of interface definitions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,356,805 B2
- Document ID: US9356805B2
- Status: Granted
- Kind: B2
- Application number: 12/478,824
- Filed: 2009-06-05
- Published: 2009-12-10
- Granted: 2016-05-31
- Earliest claimed: 2008-06-06
- Assignees: International Business Machines Corporation
- Applicants: Glenn Rasmussen
- Inventors: Glenn Rasmussen
- Web page: https://patentgrep.com/patent/US9356805B2

## CPC

- G06F 16/211: {Schema design and management}
- G06F 16/213: {with details for schema evolution support}
- H04L 51/066: Format adaptation, e.g. format conversion or compression
- H04L 67/565: Conversion or adaptation of application format or content (adding application control or application functional data H04L67/561)
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and method are provided for implementing a plurality of interface definitions. The system and method provide for a message to be received according to a first definition, sent to a component for processing according to a second definition and returned to the requester according to the first interface definition. The system and method strip information from the return message that is not contained in the first interface definition.

## Claims

### Claim 1

A method comprising:
receiving at a server a message conforming to a first programming interface definition from a requester agent and passing the received message to a producer component of a producer agent of the server, wherein the producer agent includes a servlet filter to communicate with the producer component and process a return message, wherein the servlet filter is associated with an address of a prior producer component utilizing the first programming interface definition, and the receiving the message further includes:
receiving the message directed to the address of the prior producer component at the server and forwarding the message to the servlet filter based on the address;
in response to the producer component receiving and processing the message:
receiving at the servlet filter the return message from the producer component conforming to a second programming interface definition, wherein the requester agent utilizes the first programming interface definition that describes a first application programming interface for communicating with other agents and the producer component utilizes the second programming interface definition that describes a second different application programming interface for communicating with other agents and includes a different version of the first application programming interface;
comparing at the servlet filter the first and second programming interface definitions and determining additional information of the second programming interface definition absent from the first programming interface definition, wherein the second programming interface definition is constrained by one or more rules describing permissible differences relative to the first programming interface definition; and
removing by the servlet filter the additional information from the return message to transform the return message from the second programming interface definition to the first programming interface definition and generating a response message for the requester agent conforming to the first programming interface definition.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein removing the additional information from the return message comprises:
sending the return message to a transformation engine; and
processing the return message according to a transformation specification document defining the information to be removed from the return message.

### Claim 3 (depends on 2)

The method as claimed in claim 2, wherein the received message, the return message, and the response message are each expressed in a structured definition language.

### Claim 4 (depends on 3)

The method as claimed in claim 3, wherein the structured definition language is extensible markup language (XML).

### Claim 5 (depends on 3)

The method as claimed in claim 3, wherein the transformation engine is an extensible stylesheet language transformations (XSL/T) engine, and the transformation specification document is an XSL/T document.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein the permissible differences of the one or more rules constraining the second programming interface definition include preventing changes to received messages from the requester agent and permitting incorporation of additional information into return messages from the producer component.

### Claim 7

A system comprising:
a computer processor configured to:
receive a message conforming to a first programming interface definition from a requester agent and pass the received message to a producer component of a producer agent of the computer processor, wherein the producer agent includes a servlet filter to communicate with the producer component and process a return message, wherein the servlet filter is associated with an address of a prior producer component utilizing the first programming interface definition, and the receiving the message further includes:
receiving the message directed to the address of the prior producer component at the computer processor and forwarding the message to the servlet filter based on the address;
in response to the producer component receiving and processing the message:
receive at the servlet filter the return message from the producer component conforming to a second programming interface definition, wherein the requester agent utilizes the first programming interface definition that describes a first application programming interface for communicating with other agents and the producer component utilizes the second programming interface definition that describes a second different application programming interface for communicating with other agents and includes a different version of the first application programming interface;
compare at the servlet filter the first and second programming interface definitions and determine additional information of the second programming interface definition absent from the first programming interface definition, wherein the second programming interface definition is constrained by one or more rules describing permissible differences relative to the first programming interface definition; and
remove at the servlet filter the additional information from the return message to transform the return message from the second programming interface definition to the first programming interface definition and generate a response message for the requester agent conforming to the first programming interface definition.

### Claim 8 (depends on 7)

The system as claimed in claim 7, wherein the computer processor comprises:
a transformation engine processing the return message according to a transformation specification document defining the information to be removed from the return message.

### Claim 9 (depends on 8)

The system as claimed in claim 8, wherein the received message, the return message, and the response message are each expressed in a structured definition language.

### Claim 10 (depends on 9)

The system as claimed in claim 9, wherein the structured definition language is extensible markup language (XML).

### Claim 11 (depends on 8)

The system as claimed in claim 8, wherein the transformation engine is an extensible stylesheet language transformations (XSL/T) engine, and the transformation specification document is an XSL/T document.

### Claim 12 (depends on 7)

The system as claimed in claim 7, wherein the permissible differences of the one or more rules constraining the second programming interface definition include preventing changes to received messages from the requester agent and permitting incorporation of additional information into return messages from the producer component.

### Claim 13

A computer program product comprising:
a tangible computer usable memory device having computer usable program code embodied therewith, the computer usable program code comprising computer usable program code configured to:
receive a message conforming to a first programming interface definition from a requester agent and pass the received message to a producer component of a producer agent, wherein the producer agent includes a servlet filter to communicate with the producer component and process a return message, wherein the servlet filter is associated with an address of a prior producer component utilizing the first programming interface definition, and the receiving the message further includes:
receiving the message directed to the address of the prior producer component and forwarding the message to the servlet filter based on the address;
in response to the producer component receiving and processing the message:
receive, via the servlet filter, the return message from the producer component conforming to a second programming interface definition, wherein the requester agent utilizes the first programming interface definition that describes a first application programming interface for communicating with other agents and the producer component utilizes the second programming interface definition that describes a second different application programming interface for communicating with other agents and includes a different version of the first application programming interface;
compare, via the servlet filter, the first and second programming interface definitions and determine additional information of the second programming interface definition absent from the first programming interface definition, wherein the second programming interface definition is constrained by one or more rules describing permissible differences relative to the first programming interface definition; and
remove, via the servlet filter, the additional information from the return message to transform the return message from the second programming interface definition to the first programming interface definition and generate a response message for the requester agent conforming to the first programming interface definition.

### Claim 14 (depends on 13)

The computer program product as claimed in claim 13, wherein said computer usable program code configured to remove the additional information from the return message comprises:
computer usable program code configured to send the return message to a transformation engine; and
computer usable program code configured to process the return message according to a transformation specification document defining the information to be removed from the return message.

### Claim 15 (depends on 14)

The computer program product as claimed in claim 14, wherein the received message, the return message, and the response message are each expressed in a structured definition language.

### Claim 16 (depends on 15)

The computer program product as claimed in claim 15, wherein:
the structured definition language is extensible markup language (XML); and
the transformation engine is an extensible stylesheet language transformations (XSL/T) engine, and the transformation specification document is an XSL/T document.

### Claim 17 (depends on 13)

The computer program product as claimed in claim 13, wherein the permissible differences of the one or more rules constraining the second programming interface definition include preventing changes to received messages from the requester agent and permitting incorporation of additional information into return messages from the producer component.
