GENERATING SERVICE-ACCESS ACTIVITIES FOR WORKFLOW APPLICATIONS
First Claim
Patent Images
1. At a computer system including one or more processors and system memory, the computer system also including a workflow designer surface, a method for configuring a generated activity to access an external service, the method comprising:
- an act of receiving user input dragging and dropping a generated activity onto the workflow designer surface, the generated activity for inclusion in a workflow;
an act of receiving additional user input defining operation input parameters and operation output parameters for invoking the external service; and
an act of the processor, automatically and without further user input, configuring the generated activity to access the external service in response to the additional user input, including;
an act of retrieving metadata defining the operation of the external service;
an act of generating a configuration file in accordance with the retrieved metadata, the configuration file describing at least the address of the external service, how an endpoint for the external service is to be used, and how to access the external service;
an act of generating a message type to fit the data format of the external service in accordance with the retrieved metadata, including;
an act of generating input expressions to convert input parameters from the generated activity into the message format for inclusion in messages sent to the external service; and
an act of generating output expressions to convert reply messages in the message format from the external service into output parameters for the generated activity; and
an act of generating service access activities corresponding to service operations of the external service based on the generated message type.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention extends to methods, systems, and computer program products for generating service-access activities for workflow applications. Embodiments of the invention automatically generate service-access activities based on (e.g., Web) service metadata. One-click generation, together with encapsulation of configuration complexity, helps developers improve productivity and reduce the likelihood of making mistakes.
27 Citations
20 Claims
-
1. At a computer system including one or more processors and system memory, the computer system also including a workflow designer surface, a method for configuring a generated activity to access an external service, the method comprising:
-
an act of receiving user input dragging and dropping a generated activity onto the workflow designer surface, the generated activity for inclusion in a workflow; an act of receiving additional user input defining operation input parameters and operation output parameters for invoking the external service; and an act of the processor, automatically and without further user input, configuring the generated activity to access the external service in response to the additional user input, including; an act of retrieving metadata defining the operation of the external service; an act of generating a configuration file in accordance with the retrieved metadata, the configuration file describing at least the address of the external service, how an endpoint for the external service is to be used, and how to access the external service; an act of generating a message type to fit the data format of the external service in accordance with the retrieved metadata, including; an act of generating input expressions to convert input parameters from the generated activity into the message format for inclusion in messages sent to the external service; and an act of generating output expressions to convert reply messages in the message format from the external service into output parameters for the generated activity; and an act of generating service access activities corresponding to service operations of the external service based on the generated message type. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for use at a computer system, the computer system also including a workflow designer surface, the computer program product of implementing a method for configuring a generated activity to access an external service, the computer program product comprising one or more computer-readable media having stored thereon computer-executable instructions that, when executed at a processor, cause the computer system to perform the method, including the following:
-
receive user input dragging and dropping a generated activity onto the workflow designer surface, the generated activity for inclusion in a workflow; receive additional user input defining operation input parameters and operation output parameters for invoking the external service; and configure the generated activity to access the external service in response to the additional user input, including; retrieving metadata defining the operation of the external service; generating a configuration file in accordance with the retrieved metadata, the configuration file describing at least the address of the external service, how an endpoint for the external service is to be used, and how to access the external service; generating a message type to fit the data format of the external service in accordance with the retrieved metadata, including; generating input expressions to convert input parameters from the generated activity into the message format for inclusion in messages sent to the external service; and generating output expressions to convert reply messages in the message format from the external service into output parameters for the generated activity; and generating service access activities corresponding to service operations of the external service based on the generated message type. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A system, the system comprising:
-
one or more processors; system memory; one or more storage media having stored thereon computer-executable instructions representing a visual editor and an activities generation framework, the activities generation framework including a Web Services Description Language (“
WSDL”
) analyzer, a configuration manager, a compiler, an assembly analyzer, and an activity builder, wherein the visual editor is configured to;receive one-click input for adding an activity to a workflow; wherein the Web Services Description Language (“
WSDL”
) analyzer is configured to;access metadata for a service from a WSDL file in response to detecting one-click input for adding an activity to a workflow; and analyze the metadata to identify one or more configuration sections and a code Document Object Model (“
DOM”
);wherein the configuration manager is configured to; receive one or more configuration sections; and generate a new configuration file by merging the one or more configuration sections with an existing configuration file; wherein the compiler is configured to; receive a code DOM; and compile an assembly from the code DOM; wherein the assembly analyzer is configured to; receive an assembly; and reflect over the assembly to identify operations information for the service; and wherein the activity builder is configured to; receive operations information; and output workflow message activities from the operations information. - View Dependent Claims (19, 20)
-
Specification