Method and system for implementing built-in web services endpoints
AssigneeSap SE
InventorsDimitar V. Angelov, Vladimir S. Savchenko, Vladimir Videlov
Life of this patent
Estimating the term…
Abstract
A method and system for processing Web service messages within an object oriented runtime environment is described. In one embodiment, the method includes steps for invoking a single instance of a state-less protocol for processing inbound and outbound flows of Web services messages. After determining Web services messages have been received out of order, processing of the outbound flow of any remaining messages is suspended until a complete set of messages is received. The messages are rearranged into proper order before completing processing of the outbound flows of the remaining messages.
Claims19
A method to process a plurality of Web services messages within an object oriented runtime environment, the method comprising:
- invoking a single instance of a state-less protocol to process an inbound flow of a first message pair corresponding to a first Web services message having a corresponding arrival position;
- determining that the first Web services message is out of order in a messaging sequence;
- storing a first set of state data retaining a state of the first message pair into a context of the first Web services message;
- processing an inbound flow and an outbound flow of a second message pair corresponding to a second Web services message with the single instance of the state-less protocol, the second Web services message preceding the first Web services message in the messaging sequence;
- retrieving the first set of state data and processing an outbound flow of the first message pair with the single instance of the state-less protocol, the first Web services message being provided subsequent to the second Web services message in the messaging sequence;
- and
- processing the messaging sequence with an appropriate endpoint.
A non-transitory computer-readable storage medium comprising instructions, that when executed by one or more processors, perform a method to process a plurality of Web services messages within an object oriented runtime environment, the method comprising:
- invoking a single instance of a state-less protocol to process an inbound flow of a first message pair corresponding to a first Web services message having a corresponding arrival position;
- determining that the first Web services message is out of order in a messaging sequence;
- storing a first set of state data retaining a state of the first message pair into a context of the first Web services message;
- processing an inbound flow and an outbound flow of a second message pair corresponding to a second Web services message with the single instance of the state-less protocol, the second Web services message preceding the first Web services message in the messaging sequence;
- retrieving the first set of state data and processing an outbound flow of the first message pair with the single instance of the state-less protocol, the first Web services message being provided subsequent to the second Web services message in the messaging sequence;
- and
- processing the messaging sequence with an appropriate endpoint.
A system comprising:
- a Web services message processing module operable in an object oriented runtime environment, the module comprising:
- a state-less protocol module invoked a single time to process an inbound flow and an outbound flow of message pairs corresponding to respective Web services messages in a messaging sequence, wherein an inbound flow and an outbound flow of a second Web services message may be processed in between an inbound flow and an outbound flow of a first Web services message;
- a message order determination module to determine an order of the respective Web services messages within the messaging sequence, the message order determination module determining the order of the respective Web services messages utilizing a corresponding sequence number;
- and
- a storage device to store a set of state data into a context of a corresponding Web services message, the state data retaining a state of each message pair of each respective Web services message.
Dependencies are inferred from the claim text.