Claims
- 1. A runtime architecture for Web services, comprising:
a container driver for accepting an invoke request for Web services, said container driver adapted to perform any data binding and unbinding required to process the invoke request; an interceptor adapted to receive the context information for the invoke request from said container driver and modify the message context to be used with Web services; an invocation handler for receiving context information from said container driver after the message context has been modified by said interceptor, said invocation handler adapted to pass parameters from the message context to the target of the request and process values returned from the target, the invocation handler adapted to pass the values to the container driver such that the container driver can formulate a response to the invoke request.
- 2. A system according to claim 1, further comprising a protocol adapter for intercepting an Web service invoke request and passing the Web service invoke request to said container driver.
- 3. A system according to claim 2, wherein said protocol adapter can convert the format of an invoke request and create a message context containing the invoke request.
- 4. A system according to claim 1, further comprising a plugin component to be used by said container driver to perform any data binding and unbinding.
- 5. A system according to claim 4, wherein said plugin component is selected from the group consisting of Java binding codecs, SOAP codecs, XML codecs, and custom codecs.
- 6. A system according to claim 1, further comprising an invocation context for storing arbitrary context data useful in processing the Web request, said invocation context available to at least one of said interceptor and said invocation handler.
- 7. A system according to claim 1, wherein said interceptor is selected from the group consisting of header handlers and flow handlers.
- 8. A system according to claim 1, wherein said invocation handler manages security policies, transaction management, and target object life cycle for the request.
- 9. A system according to claim 1, further comprising a Web service container for hosting said container driver, said interceptor, and said invocation handler.
- 10. A system according to claim 1, further comprising a target object to which said invocation handler can delegate processing the invoke request.
- 11. A method for supporting Web services, comprising:
receiving an invoke request for Web services to a container manager; formatting message context for the invoke request to be used with Web services; doing data binding on the message context; processing the request using an invocation handler and generating response data; unbinding the message context containing the response data; and reformatting the message context for responding to the invoke request.
- 12. A method according to claim 11, further comprising intercepting an invoke request from a Web services client using a protocol adapter and generating message context for the invoke request to be sent to the container manager.
- 13. A method according to claim 11, wherein said step of formatting message context comprises using an interceptor to format the message context.
- 14. A method according to claim 11, wherein said step of doing data binding on the message context comprising using a codec selected from the group consisting of Java Binding codecs, SOAP codecs, XML codecs, and custom codecs.
- 15. A method according to claim 11, further comprising storing arbitrary context data for use in processing the invoke request.
- 16. A method according to claim 11, further comprising managing life cycle, transaction, and security information for the processing of the invoke request.
- 17. A method according to claim 11, further comprising delegating the processing of the invoke request to a target object.
- 18. A computer-readable medium, comprising:
means for receiving an invoke request for Web services to a container manager; means for formatting message context for the invoke request to be used with Web services; means for performing data binding on the message context; means for processing the request using an invocation handler and generating response data; means for unbinding message context containing the response data; and means for reformatting the message context for responding to the invoke request.
- 19. A computer program product for execution by a server computer for supporting Web services, comprising:
computer code for receiving an invoke request for Web services to a container manager; computer code for formatting message context for the invoke request to be used with Web services; computer code for performing data binding on the message context; computer code for processing the request using an invocation handler and generating response data; computer code for unbinding message context containing the response data; and computer code for reformatting the message context for responding to the invoke request.
- 20. A system for supporting Web services, comprising:
means for receiving an invoke request for Web services to a container manager; means for formatting message context for the invoke request to be used with Web services; means for performing data binding on the message context; means for processing the request using an invocation handler and generating response data; means for unbinding message context containing the response data; and means for reformatting the message context for responding to the invoke request.
- 21. A computer system comprising:
a processor; object code executed by said processor, said object code configured to:
receive an invoke request for Web services to a container manager; format message context for the invoke request to be used with Web services; perform data binding on the message context; process the request using an invocation handler and generating response data; unbind the message context containing the response data; and reformat the message context for responding to the invoke request.
- 22. A computer data signal embodied in a transmission medium, comprising:
a code segment including instructions to receive an invoke request for Web services to a container manager; a code segment including instructions to format message context for the invoke request to be used with Web services; a code segment including instructions to perform data binding on the message context; a code segment including instructions to process the request using an invocation handler and generating response data; a code segment including instructions to unbind the message context containing the response data; and a code segment including instructions to reformat the message context for responding to the invoke request.
CLAIM OF PRIORITY
[0001] This application claims priority to U.S. Provisional Patent Application No. 60/359,098, filed Feb. 22, 2002, entitled “WEB SERVICES RUNTIME ARCHITECTURE,” as well as U.S. Provisional Patent Application No. 60/359,231, filed Feb. 22, 2002, entitled “WEB SERVICES PROGRAMMING AND DEPLOYMENT,” each of which is hereby incorporated herein by reference.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60359098 |
Feb 2002 |
US |
|
60359231 |
Feb 2002 |
US |