Exposing logic flows of web services and permitting logic flow modifications
AssigneeInternational Business Machines Corporation
InventorsAkram A. Bou-Ghannam, John W. Miller, Ryan Rozich
Life of this patent
Estimating the term…
Abstract
The invention discloses a method for specifying Web service behavior that includes a step of exposing an internal logic flow of a Web service to clients. The internal logic flow can include at least one activity, which is defined by a set of machine-readable instructions. A special invocation command for the Web service can be received from a client. The special invocation command can specify a modification for the activity. An instance of the Web service can be invoked for the client, where the Web service instance implements the modification instead of the activity.
Claims17
A method for specifying Web service behavior comprising:
- computing equipment exposing an internal logic flow of a Web service to clients, wherein each client is a computing device comprising hardware, wherein the internal logic flow includes at least one activity;
- the computing equipment receiving a special invocation command for the Web service from a client, wherein the special invocation command specifies a modification for the at least one activity, wherein the modification specifies a second Web service;
- and
- the computing equipment invoking an instance of the Web service for the client, wherein the Web service instance implements the modification, wherein the Web service instance executes the second Web service in place of the at least one activity, wherein the special invocation command is part of an XML document having standardized sections for specifying the modification and related parameters, wherein the standardized sections comprise an interface signature section, an implementation logic section, and a license and digital rights management (DRM) section, wherein the interface signature section specifies inputs and outputs of the at least one activity to be replaced by the modification and specifies whether a transform is needed to reconcile differences between the at least one activity and the modification, wherein the implementation logic section specifies a location for execution code of the modification, and wherein the license and digital rights management section establishes legal agreements relating to the Web service and the modification.
A method for a client, which is a computing device comprising hardware, to selectively modify a Web service comprising:
- the client selecting a Web service provided by a service provider;
- a service provider ascertaining a logical flow of the Web service, said logical flow comprising at least one activity, wherein when the Web service is invoked normally, the service provider executes code associated with the at least one activity;
- the client specifying a different Web service that is to replace the at least one activity;
- and
- the service provider specially invoking the Web service causing the Web service to execute the different Web service in place of code typically associated with the at least one activity, wherein the specially invoking step utilizes an XML based document to specify parameters, wherein said XML based document comprises standardized sections for specifying a modification and related parameters, wherein the standardized sections comprise an interface signature section, an implementation logic section, and a license and digital rights management (DRM) section, wherein the interface signature section specifies inputs and outputs of the at least one activity to be replaced by the modification and specifies whether a transform is needed to reconcile differences between the at least one activity and the modification, wherein the implementation logic section specifies a location for execution code of the modification, and wherein the license and digital rights management section establishes legal agreements relating to the Web service and the modification.
A system comprising a combination of hardware and software for providing Web services that permit calling applications to modify internal logic flow of the Web services comprising:
- a storage medium storing a Web service that exposes internal logic flow, said internal logic flow comprising a plurality of activities, wherein said Web service is a reusable software building block implemented as a computer program product stored in a storage medium, where the computer program product is executable by a computing system;
- a user-selectable option, implemented within a computer program product stored in a storage medium, for invoking the Web service normally, which causes the Web service to execute the plurality of activities in accordance with the internal logic flow;
- and
- a user selectable option, implemented within a computer program product stored in a storage medium, for specially invoking the Web service, which causes the Web service to substitute a user specified modification in the place of one of the plurality of activities while executing unmodified ones of the plurality of activities in accordance with the internal logic flow, wherein the user specified modification is specified in an XML based document, wherein said XML based document comprises standardized sections for specifying a modification and related parameters, wherein the standardized sections comprise an interface signature section, an implementation logic section, and a license and digital rights management (DRM) section, wherein the interface signature section specifies inputs and outputs of the at least one activity to be replaced by the modification and specifies whether a transform is needed to reconcile differences between the at least one activity and the modification, wherein the implementation logic section specifies a location for execution code of the modification, and wherein the license and digital rights management section establishes legal agreements relating to the Web service and the modification.
Dependencies are inferred from the claim text.