Provided are a method, system, and program for generating a program capable of invoking a flow of operations, wherein the program is capable of being initiated from an external call. A definition file defining a flow of operations and mapping information defining input parameters to the flow of operations are received. The received definition file and mapping information are processed to generate program statements within the program that when executed perform: setting input parameters to the flow of operations to values received from an external call to the program; invoking the flow of operations with the input parameters including values from the external call; and receiving output from the flow of operations and extracting at least one value from the received output to return to the external call.
Drawings
Claims37
A method for generating a program capable of invoking a flow of operations, wherein the program is capable of being initiated from an external call, comprising:
receiving as input a definition file defining a flow of operations;
receiving as input mapping information defining input parameters to the flow of operations;
processing the received definition file and mapping information to generate program statements within the program that when executed perform:
(i) setting input parameters to the flow of operations to values received from an external call to the program;
(ii) invoking the flow of operations with the input parameters including values from the external call;
and
(iii) receiving output from the flow of operations and extracting at least one value from the received output to return to the external call.
4 more elements
A method for invoking a workflow, comprising:
receiving a call, from a database program, to invoke a workflow;
invoking the workflow in response to the call;
receiving output from the workflow;
and
returning output from the workflow to the database program.
2 more elements
A system for generating a program capable of invoking a flow of operations, wherein the program is capable of being initiated from an external call, comprising:
means for receiving as input a definition file defining a flow of operations;
means for receiving as input mapping information defining input parameters to the flow of operations;
and
means for processing the received definition file and mapping information to generate program statements within the program that when executed perform:
(i) setting input parameters to the flow of operations to values received from an external call to the program;
(ii) invoking the flow of operations with the input parameters including values from the external call;
and
(iii) receiving output from the flow of operations and extracting at least one value from the received output to return to the external call.
5 more elements
A system for processing calls from a database program, comprising:
means for receiving a call, from the database program, to invoke a workflow;
means for invoking the workflow in response to the call;
means for receiving output from the workflow;
and
means for returning output from the workflow to the database program.
2 more elements
22 The system of claim 21, further comprising:
mapping the input parameters included with the call to workflow input parameters included with the invocation to the workflow.
An article of manufacture for generating a program capable of invoking a flow of operations, wherein the program is capable of being initiated from an external call, and wherein the article of manufacture causes operations to be performed, the operations comprising:
receiving as input a definition file defining a flow of operations;
receiving as input mapping information defining input parameters to the flow of operations;
processing the received definition file and mapping information to generate program statements within the program that when executed perform:
(i) setting input parameters to the flow of operations to values received from an external call to the program;
(ii) invoking the flow of operations with the input parameters including values from the external call;
and
(iii) receiving output from the flow of operations and extracting at least one value from the received output to return to the external call.
4 more elements
An article of manufacture for invoking a workflow, wherein the article of manufacture causes operations to be performed, the operations comprising:
receiving a call, from a database program, to invoke a workflow;
invoking the workflow in response to the call;
receiving output from the workflow;
and
returning output from the workflow to the database program.
#FIG. 2 represents a web service invocation or response transferred as a wrapped XML message between a service provider and a service requestor;
Detailed description8,806 words
#In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several embodiments of the present invention. It is understood that other embodiments may be utilized and structural and operational changes may be made without departing from the scope of the present invention.
#The nature of Web services make them natural components in a service-oriented architecture. A typical service-oriented architecture is shown in FIG. 1. Service providers 11 host a network accessible software module. A service provider defines a service description for a Web service and publishes it to a service registry 15, as depicted by arrow 17. A service requester 13 at a client computer uses a find operation, represented by arrow 19, to retrieve the service description from the registry 13 and uses the service description to bind with the service provider, as represented by connector 21, and to invoke or interact with the Web service implementation. To facilitate this architecture, the client is connected to a router (not shown) at the service provider's server. Preferably, the connection between the client computer and the router is established via the Internet, but other connections can be used. It can be appreciated that the client computer connects to the Internet via telephone modem, cable modem, LAN, WAN, T1 or any other means well known in the art.
#Applying the preceding model to web services and referring to FIG. 2, a service provider 11 makes an application available over the web as a Web service by wrapping the application in such a way that it can be accessed using standard XML messages, i.e., application-specific messages 31 are sent in standard XML document formats conforming to the corresponding service description. The XML messages 31 are themselves placed in a wrapper 33 in such a way that masks the underlying transport protocol. For example, an application message is placed in an XML wrapper by an XML extender administrative servlet (DXX admin servlet, not shown) included in the router at the service provider's database 29. XML messages 31 are then wrapped in Simple Object Access Protocol (SOAP) envelopes 33 at SOAP server 27 and posted to the web via HTTP server 25.