Methods and apparatus, including computer program products, implementing and using techniques for orchestrating a business process in a computer network. A script describing a business process is received from a client machine over the computer network. The script is compiled into executable program instructions. A reference to the script and data to be operated on by the script is received from the client machine over the computer network. The data is processed in accordance with the script. The result of the data processing is returned to the client machine over the computer network.
|
40. An integration services network configured to mediate communication protocol and business policy differences among a plurality of different services in communication with the integration services network, the integration services network comprising:
a policy repository configured to store communication protocol and message format information for the plurality of services; and
a business process engine, operable to:
receive a message including business process orchestration instructions from a client machine in communication with the integration services network, wherein the business process orchestration instructions pertain to a plurality of different web services;
receive a message including data to be operated on by the business process orchestration instructions from the client machine;
retrieve, from the policy repository, communication protocol and message format information for the subset of the plurality of services;
based on the received message and on the retrieved communication protocol and message format information, orchestrate a business process in accordance with the received business process orchestration instructions, including passing at least portions of the received data to a first service and a second service of the different web services by invoking the first and second web services and obtaining responses from the first and second web services, aggregating the responses received from the first and second web services, and passing the aggregated response to the client machine, the second service communicating with the integration services network using a second communication protocol that differs from the first communication protocol.
14. A business process engine operable to orchestrate a business process in an integration services network configured to mediate communication protocol and business policy differences among a plurality of different services in communication with the integration services network, wherein the business process engine is operable to:
receive a script describing a business process from a client machine in communication with the integration services computer network, wherein the business process described by the received script pertains to communicating with a subset of the plurality of different services;
receive a reference to the script and data to be operated on by the script from the client machine over the integration services network;
retrieve, from a policy repository in the integration services network, communication protocol and message format information for the subset of the plurality of services;
based on the reference to the script and on the retrieved communication protocol and message format information, invoking a first service of the subset of services from such script as a service request, including at least a portion of the data, the first service communicating with the integration services network using a first communication protocol;
based on the reference to the script and on the retrieved communication protocol and message format information, invoke a second service of the subset of services from such script as a plurality of services requests, including at least a portion of the data, the second service communicating with the integration services network using a second communication protocol that differs from the first communication protocol; and
determine a result of the business process at the business process engine, the result based on the invocation of the first and second services; and
return the result to the client machine.
1. A computer-implemented method for orchestrating a business process in an integration services network configured to mediate communication protocol and business policy differences among plurality of different services in communication with the integration services network, the method comprising:
receiving, at a business process engine running on a server in the integration services network, a script describing a business process from a client machine in communication with the integration services network, wherein the business process described by the received script pertains to communicating with a subset of the plurality of different services;
receiving, at the business process engine, a reference to the script and data to be operated on by the script from the client over the integration services network;
retrieving, from a policy repository in the integration services network, communication protocol and message format information for the subset of the plurality of services;
based on the reference to the script and on the retrieved communication protocol and message format information, invoking a first service of the subset of services from such script as a service request, including at least a portion of the data, the first service communicating with the integration services network using a first communication protocol;
based on the reference to the script and on the retrieved communication protocol and message format information, invoking a second service of the subset of services from such script as a services request, including at least a portion of the data, the second service communicating with the integration services network using a second communication protocol that differs from the first communication protocol;
determining a result of the business process at the business process engine, the result based on the invocation of the first and second services; and
returning the result to the client machine.
27. At least one computer readable storage medium having computer program instructions stored thereon, the computer program instructions operable to orchestrate a business process in an integration services network configured to mediate communication protocol and business policy differences among a plurality of different services in communication with the integration services network, the computer program instructions operable to:
receive a script describing a business process from a client machine in communication with the integration services computer network, wherein the business process described by the received script pertains to communicating with a subset of the plurality of different services;
receive a reference to the script and data to be operated on by the script from the client machine over the integration services network;
retrieve, from a policy repository in the integration services network, communication protocol and message format information for the subset of the plurality of services;
based on the reference to the script and on the retrieved communication protocol and message format information, invoking a first service of the subset of services from such script as a service request, including at least a portion of the data, the first service communicating with the integration services network using a first communication protocol;
based on the reference to the script and on the retrieved communication protocol and message format information, invoke a second service of the subset of services from such script as a services request, including at least a portion of the data, the second service communicating with the integration services network using a second communication protocol that differs from the first communication protocol; and
determine a result of the business process at the business process engine, the result based on the invocation of the first and second services; and
return the result to the client machine.
2. The method of
invoking the first and second services includes obtaining a response from the first and second services.
3. The method of
aggregating any responses received from the first and second services into an aggregated response; and
transmitting the aggregated response as the returned result of the from the first and second services back to the client machine over the computer network.
4. The method of
returning an error message to the client machine if one or more of the following conditions occur: the data has an incorrect format for the script, a compilation error occurs during the compilation of the script, and the reference identifies an invalid script.
5. The method of
6. The method of
storing the compiled script in a business process engine; and
making the compiled script available for multiple invocations with different sets of data received from different client machines.
7. The method of
8. The method of
9. The method of
10. The method of
monitoring resources used in the processing of at least a portion of the data during the invoking of the first and second services; and
terminating the invoking of the first and second services if the resource usage exceeds a predetermined threshold value.
11. The method of
providing extension functionality for facilitating the interaction between the client machine, the network, and the different services, the extension functionality including a plurality of: one or more activities describing actions to be performed during the processing of at least a portion of the data during invoking of the first and second services, one or more expressions for extracting computer network specific information, and one or more correlations for associating instances of scripts with messages that fulfill specific criteria.
12. The method of
providing fault catchers operable to identify errors during processing of at least a portion of the data during invoking of the first and second services in accordance with the script of one or more of the following types: errors encountered during the receipt of a message from a client machine, errors encountered during processing of a message inside the computer network, errors encountered during delivery of a message inside the computer network, errors encountered during routing of a message inside the computer network, and errors indicating that a message has expired before it was delivered to a service or before a response was received from a service.
13. The method of
15. The business process engine of
the business process engine is operable to process invoking the first and second services includes obtaining a response from the first and/or second services.
16. The business process engine of
aggregate any responses received from the first and second services into an aggregated response; and
transmit the aggregated response as the returned result of the from the first and second services back to the client machine over the computer network.
17. The business process engine of
return an error message to the client machine if one or more of the following conditions occur: the data has an incorrect format for the script, a compilation error occurs during the compilation of the script, and/or the reference identifies an invalid script.
18. The business process engine of
19. The business process engine of
store the compiled script in the business process engine; and
make the compiled script available for multiple invocations with different sets of data received from different client machines.
20. The business process engine of
21. The business process engine of
22. The business process engine of
23. The business process engine of
monitor resources used in the processing of at least a portion of the data during the invoking of the first and second services; and
terminate the invoking of the first and second services if the resource usage exceeds a predetermined threshold value.
24. The business process engine of
provide extension functionality for facilitating the interaction between the client machine, the network, and the different services, the extension functionality including a plurality of: one or more activities describing actions to be performed during the processing of the at least a portion of the data during invoking of the first and second services, one or more expressions for extracting computer network specific information, and one or more correlations for associating instances of scripts with messages that fulfill specific criteria.
25. The business process engine of
provide fault catchers operable to identify errors during processing of the data in accordance with the script of one or more of the following types: errors encountered during the receipt of a message from a client machine, errors encountered during processing of a message inside the computer network, errors encountered during delivery of a message inside the computer network, errors encountered during routing of a message inside the computer network, and errors indicating that a message has expired before it was delivered to a service or before a response was received from a service.
26. The business process engine of
28. The at least one computer readable storage medium of
29. The at least one computer readable storage medium of
aggregate any responses received from the first and second services into an aggregated response; and
transmit the aggregated response as the returned result of the from the first and second services back to the client machine over the computer network.
30. The at least one computer readable storage medium of
return an error message to the client machine if one or more of the following conditions occur: the data has an incorrect format for the script, a compilation error occurs during the compilation of the script, or the reference identifies an invalid script.
31. The at least one computer readable storage medium of
32. The at least one computer readable storage medium of
receive the script in a first message from the client machine;
store the compiled script in a business process engine; and
make the compiled script available for multiple invocations with different sets of data received from different client machines.
33. The at least one computer readable storage medium of
34. The at least one computer readable storage medium of
35. The at least one computer readable storage medium of
36. The at least one computer readable storage medium of
monitor resources used in the processing of at least a portion of the data during the invoking of the first and second services; and
terminate the invoking of the first and second services if the resource usage exceeds a predetermined threshold value.
37. The at least one computer readable storage medium of
provide extension functionality for facilitating the interaction between the client machine, the network, and the different services, the extension functionality including a plurality of: one or more activities describing actions to be performed during the processing of the at least a portion of the data during invoking of the first and second services, one or more expressions for extracting computer network specific information, and one or more correlations for associating instances of scripts with messages that fulfill specific criteria.
38. The at least one computer readable storage medium of
provide fault catchers operable to identify errors during processing of the data in accordance with the script of one or more of the following types: errors encountered during the receipt of a message from a client machine, errors encountered during processing of a message inside the computer network, errors encountered during delivery of a message inside the computer network, errors encountered during routing of a message inside the computer network, and errors indicating that a message has expired before it was delivered to a service or before a response was received from a service.
39. The at least one computer readable storage medium 27, wherein the computer network is: a local area network or a wide area network.
|
The present application claims priority under 35 U.S.C. §119 from U.S. Provisional Patent Application No. 60/512,601 for APPARATUS AND METHODS FOR MANAGEMENT OF VIRTUAL BUSINESS INSTANCES WITHIN A COMPUTER NETWORK filed Oct. 16, 2003, the entire disclosure which is incorporated herein by reference for all purposes. The present application is also related to U.S. patent application Ser. No. 09/820,966 for SYSTEM AND METHOD FOR ROUTING MESSAGES BETWEEN APPLICATIONS filed Mar. 30, 2001, to U.S. patent application Ser. No. 09/820,964 for SYSTEM AND METHOD FOR MAPPING SERVICES filed Mar. 30, 2001, and to U.S. patent application Ser. No. 09/820,965 for SYSTEM AND METHOD FOR INVOCATION OF SERVICES, the entire disclosures of which are incorporated herein by reference for all purposes.
The present invention relates to techniques for enabling communication between web services in a network environment.
The web service provider market is one of the fastest growing segments of the software industry. Web service providers make enterprise applications, such as human resources administration, recruiting, travel and expense management, sales force automation, and so on, available to customers over the web on a subscription basis, or for free. These enterprise applications are fully managed and hosted by the web service providers, which results in significant cost savings for enterprises using the web services and eliminates many of the issues requiring individual enterprise application integration (EAI) solutions.
Some web service providers merely host and manage third-party packaged software for their customers (i.e., “managed hosters”). Others build new applications from the ground up to take advantage of the benefits and cost-savings of the web service provider model.
Client applications can locate the web services using a UDDI (Universal Description, Discovery, and Integration) service, which is based on XML (eXtended Markup Language) and SOAP (Single Object Access Protocol). XML is a markup language for documents containing structured information, that is, the information and an indication of its role, and is a common way to provide information over wide area networks, such as the Internet. SOAP is an XML-based protocol for exchanging information in a decentralized, distributed environment. SOAP can be used in combination with a variety of protocols, but its most frequent use is in conjunction with HTTP (Hyper Text Transfer Protocol). Web service providers can register contact addresses and descriptions of the provided web services in a UDDI directory, and prospective clients can use the UDDI directory as a “phone book for web services,” and look up web services that fit the clients' needs.
Web services are typically described in a Web Service Description Language (WSDL), which is an XML-based language format. WSDL enables separation of the description of the abstract functionality offered by a web service from concrete details of a service description, such as “where” and “how” the functionality is offered. WSDL describes web services starting with the messages that are exchanged between the web service provider and a requestor. The messages are first described abstractly and are then bound to a concrete network protocol and message format. A message consists of a collection of typed data items. A message exchange between the web service provider and the requestor is referred to as an operation. A collection of operations is a portType. Collections of portTypes are grouped and referred to as a service. A web service represents an implementation of a service and contains a collection of ports, where each port is an implementation of a portType, which includes all the concrete details the requestor needs in order to interact with the web service.
In many cases, a client may need to contact several web services to obtain information that is needed by the client for a particular purpose. For example, a client can send out a request for quote (RFQ) message to several web services to obtain quotes for a particular product or service that the client would like to obtain, and based on the results select the most affordable product or service supplier, or the supplier that offers the shortest delivery time, and so on. Another example is a client that sends a loan application to a risk assessment web service, which evaluates the application. Clients with a ‘low’ risk assessment are automatically accepted, whereas clients with a ‘medium’ or ‘high’ risk assessment are initially denied and asked to contact a second web service for further evaluation. The second web service returns a final result, such as ‘yes’ or ‘no’ to the client. In most cases where several web services are used to gather information, the client is responsible for coordinating the contacting of them, and making sure that the web services are addressed in a proper sequence, for example, as outlined in the above loan application example. A further complication is that the different web services may use different communication models, such as synchronous communication or asynchronous communication. The web services may also request different input values, such that the client must modify the request for each individual web service that is being contacted. Thus, it would be desirable to further automate processes in which the results from several web services are used.
In general, in one aspect, the invention provides methods and apparatus, including computer program products, implementing and using techniques for orchestrating a business process in a computer network. A script describing a business process is received from a client machine over the computer network. The script is compiled into executable program instructions. A reference to the script and data to be operated on by the script is received from the client machine over the computer network. The data is processed in accordance with the script. The result of the data processing is returned to the client machine over the computer network.
Advantageous implementations can include one or more of the following features. The business process can involves one or more web services that are accessible over the computer network, and processing the data can include passing the data to at least one web service and obtaining a response from the web service. Any responses received from the one or more web services can be aggregated into an aggregated response and the aggregated response can be transmitted back to the client machine over the computer network. An error message can be returned to the client machine if one or more of the following conditions occur: the data has an incorrect format for the script, a compilation error occurs during the compilation of the script, and the reference identifies an invalid script. The script and the data to be operated on by the script can be received in a single message from the client machine. The script can be received in a first message from the client machine, and the compiled script can be stored in a business process engine and be made available for multiple invocations with different sets of data received from different client machines. The script can be expressed in a business process execution language format. The script and the data can be received asynchronously from the client machine over a push handler in the computer network. The response can be transmitted to the client machine asynchronously over a post handler in the computer network.
The resources used in the processing of the data can be monitored and the processing can be terminated if the resource usage exceeds a predetermined threshold value. An extension functionality can be provided for facilitating the interaction between the client machine, the network, and the one or more web services, where the extension functionality includes one or more of: activities describing actions to be performed during the processing of the data, expressions for extracting computer network specific information, and correlations for associating instances of scripts with messages that fulfill specific criteria. Fault catchers can be provided that identify errors during the orchestration of the business process of one or more of the following types: errors encountered during the receipt of a message from a client machine, errors encountered during processing of a message inside the computer network, errors encountered during delivery of a message inside the computer network, errors encountered during routing of a message inside the computer network, and errors indicating that a message has expired before it was delivered to a web service or before a response was received from a web service. The computer network can be a local area network or a wide area network.
In general, in another aspect, the invention provides a business process engine. The business process engine receives a script describing a business process from a client machine over the computer network, compiles the script into executable program instructions, receives a reference to the script and data to be operated on by the script from the client machine over the computer network, processes the data in accordance with the script, and returns the result of the data processing to the client machine over the computer network.
In general, in another aspect, the invention provides a message routing system. The message routing system includes one or more client computers, one or more web services, a business process engine, and an integration service network. The client computers send and receive messages including business process orchestration instructions and data to be operated on by the business processes. The web services receive and process messages in accordance with the business process orchestration instructions. The business process engine receives a message including business process orchestration instructions from a client machine, receives a message including data to be operated on by the business process orchestration instructions from a client machine, and orchestrates the business process in accordance with the received business process orchestration instructions. The orchestration includes passing the received data to at least one web service and obtaining a response from the web service, aggregating any responses received from the at least one web service, and passing the aggregated response to the client computer. The integration service network routes messages between the client computers and the business process engine, and between the business process engine and the one or more web services
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.
Like reference symbols in the various drawings indicate like elements.
The invention relates to a Business Process Engine (BPE) for orchestrating business processes that involve multiple services in a computer network. The BPE allows complex business processes to be created and run inside a computer network, such as an integration services network, which will be described in further detail below. The BPE adds logic and flow control to the routing capabilities of the integration services network, while at the same time leveraging the integration service network's reliability, once-only delivery, and correlation features. Without the BPE, the integration services network can perform simple point-to-point messaging, such as from a client computer to a web service. With the BPE included in the integration services network, the integration services network can support powerful business process choreography, such as delivering a message from a client computer to multiple web services and aggregating the obtained responses before transmitting them to the client computer that sent the original message.
In use, the business process engine (BPE) allows a user to orchestrate a business process that involves calls across multiple processes. A client computer sends a single message to the BPE, which can in turn invoke many services over a long period of time, correlate all of the requests and responses to and from the services, and then return a response representing the aggregated results of the processing to the client that issued the message. This greatly simplifies the tasks the client computer is requested to perform. All the invocations of the services occur through the integration services network. Thus, it is completely opaque to the client what services within the integration services network are addressed and what communication format the different services support. It is also not necessary for the clients to provide additional headers for correlation or process management, which would typically be necessary outside the integration services network. The messaging within the integration services network and the BPE, services, and clients, is performed asynchronously, but can appear to the client as being synchronous or asynchronous. The messages can be any XML formatted messages, such as purchase orders, that might require several other processes to be invoked (such as checking the suppliers, availability, and price of individual parts needed for a product). Messages within the integration services network can be automatically resent, which takes away the burden from the client to keep a record of which services have received the message and which services have not received the message.
The invention will now be described by way of example with reference to specific implementations that are illustrated in the accompanying drawings. While the invention is described in conjunction with these specific implementations, it will be understood that this description is not intended to limit the invention to the described implementations. On the contrary, this detailed description is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the claims.
The system (100) further includes an integration services network (106), for enabling the requestors (102; 104) to communicate with the web services (108; 110) irrespective of the communication methods supported by the individual requestors and web services. The integration services network (106) is accessible for the requestors (102; 104) and the web services (108; 110) over a local area network, such as an intranet, or over a wide area network, such as the Internet. The integration services network (106) facilitates interoperability using a wide variety of web services technologies and standards including, for example, SOAP, WSDL, WS-Security, WS-Policy, and Business Process Execution Language (BPEL), and mediates the technology differences in data formats, communications protocols and business policies through a set of established and defined policies. The system (100) can be either an “open system” or a “closed system.” In an open system, typically, the requestors (102; 104) and web services (108; 110) are owned and/or managed by entities distinct from each other and distinct from the owner of the integration services network (106). In the closed system, the requestors (102; 104) and web services (108; 110) are typically owned and/or managed by the owner of the integration services network (106). Combinations of open and closed system are also possible, in which there are some commonly owned and/or managed components, and some components that are owned and/or managed by different entities.
As can be seen in
In some implementations, the integration services network (106) can specify which requestors (102; 104) have permission to access the web services (108; 110). For example, the integration services network (106) can provide security management including authentication, authorization and security policy enforcement at various points in a message's (112) lifecycle inside the integration services network (106), for example, when a message (112) is sent into the integration services network (106) from a requestor (102; 104), and when the message (112) is routed to its destination web service (108; 110). In one implementation, the policies needed for the integration services network (106) to perform security management operations are stored securely in a policy repository (116) in the integration services network (106). According to various implementations, the requestors (102; 104) and the providers of the web services (108; 110) need not be aware of the message format requirements of the party to which the message (112) is sent, nor of any message format translation taking place in the integration services network (106).
In addition to providing mechanisms for mediating messages (112) sent between requestors (102; 104) and web services (108; 110), the integration services network (106) also preferably includes a web service directory (114) for storing various information regarding the web services (108; 110) that are accessible through the integration services network (106). Such information can include, for example, information similar to the UDDI information, which facilitates locating web services (108; 110) for requestors (102; 104), WSDL files for the different web services (108; 110), and policies that control which requestors (102; 104) and web services (108; 110) can interact, and how the interaction occurs. The integration services network (106) preferably also includes mechanisms for creating and combining web services (108; 110), registering requestors (102; 104) and their identifying information, and handling messages (112) routed between web services (108; 110) and/or requestors (102; 104). The directory (114) can be created from one or more databases stored on one or more memory devices on one or more computing platforms. Implementations of the integration services network (106) can also include components enabling complex routing and business process management, which both have been described in the above-referenced patent applications.
The integration services network (106) also contains a business process engine (BPE) (118). In one implementation, the BPE (118) allows a client (102) to orchestrate business processes written in IBM's Business Process Execution Language (BPEL) within the integration services network (106). Information on developing the BPEL processes can be found in the document “Business Process Execution Language for Web Services version 1.1” It should be noted that BPEL is merely used herein as an example of a language suitable for expressing business processes. Other implementations of the BPE (118) can use other languages, such as JAVA™ or JavaScript™ and otherwise operate according to similar principles as the BPE (118) implementation using the BPEL language described herein.
In addition to supporting the BPEL language, the BPE (118) provides extensions that facilitate the orchestration of the business process within the integration services network (106). As will be discussed in further detail below, in one implementation, the BPE (118) can be invoked in one of two ways, using a direct or a virtual mode. In both cases, the invocation message is sent to the BPE (118) through the integration services network (106). In this implementation, the BPE processes reference web services (108; 110) that are registered on the integration services network (106), and can therefore be expressed in a simplified way, as will be seen below.
In the direct mode, the BPE (118) receives both its instructions and its data in a single message (112), that is, the message (112) contains a header or body telling the BPE (118) where to find the instructions needed by the BPE (118) to operate on the received message (112), as well as the data to be orchestrated. The BPE (118) creates an instance of a router that exists in the context of that message (112) only. The message (112) is orchestrated according to the instructions and at the termination of the orchestration sequence the router instance is destroyed. All messages created by the router are addressed from, and preferably seen in reporting as from, the BPE (118) itself.
In the virtual mode, the BPE (118) creates an instance of the BPEL instructions, which can be invoked multiple times with different sets of data. The invocation message containing the data to be orchestrated is sent to a network address for the BPE process in the integration services network (106), and results in a new instance of the route being created to orchestrate that message (112). All messages that are subsequently created by the BPE (118) during its operation are addressed from, and shown in reporting as being from the BPEL process associated with the orchestration instructions. As will be described in further detail below, the exact behavior of the BPE (118) varies according to whether the message (112) is a request or notification. In some cases, the BPE (118) returns a response while in others no response is returned.
Additional mechanisms and techniques for provisioning services and for enabling disparate entities to interact according to the invention are described in U.S. patent application Ser. Nos. 09/820,964, 09/820,965, 09/820,966, 10/727,089, 10/728,356 and 10/742,513, which are incorporated herein by reference for all purposes. Any of the mechanisms described in these referenced applications can easily be applied with the techniques described herein.
General Behavior of the BPE
In one implementation, the BPE (118) receives its messages (112) from the push handler and replies asynchronously through the post handler of the integration services network (106). In another implementation, the BPE (118) does not communicate with the integration services network (106) through the push and post handlers, but is instead integrated into the core router of the integration services network (106), such that the business processes are executed in line with the transfer of messages through the integration services network (106). That is, the BPE (118) gets invoked, if requested, at the point at which routing of the received messages is performed. In both implementations, the BPE (118) only receives its messages (112) from the integration services network (106). The BPE (118) can also be invoked with either notifications or requests, for example, with important consequences on behavior, as will be discussed below. The BPE (118) automatically extends the session of the message (112) it was invoked with when the BPE (118) performs further service invocations.
In one implementation, the BPE (118) monitors the amount of resources used by the BPE (118) and terminates should the resources exceed a level defined in the configuration file for the BPE (118). This constraint can define the limit for operations, such as the multicast, so that the limit on the number of messages (112) that can be multicast is dependent on the messages' size.
Should an error occur in the execution of a Business Process script, the error can be handled by a defined handler for that error, if there is one. In the implementation where the BPE (118) is invoked through the push and post handlers, should an error occur while trying to post a message (112) to the integration services network (106), the post can be re-tried a number of times after a defined time interval. These values can be defined in a configuration file. After the retry limit is reached, the last synchronous error returned by the post attempt is returned to the script for handling according to the normal error handling rules. In the implementation where the BPE (118) is integrated into the core router of the integration services network (106), if an error occurs, the error is handled by a defined error handler for that particular error type, if there is such an error handler. If no error handler has been defined for the particular error type, the error is returned to the invoker of the business process, that is, to the client machine (102; 104) sending the request to the integration services network (106).
In all invocation modes, the BPE (118) can return errors. The errors can be messages themselves and can be part of the automatic correlation extensions, tying the errors to the overall process context. These errors can include expected errors, unexpected errors, and/or runtime errors. Expected errors are returned to the BPE (118) from a sub-invocation, which may be an expected part of a business process. Unexpected errors are returned to the BPE (118) from a sub-invocation, which can be returned if a handler for that error is not found, causing the process to terminate abnormally. Runtime errors typically result from an invalid operation, such as referencing an uninitialized variable. Several examples of runtime errors are defined in the BPEL specification. In addition, in each mode, various other errors can be returned as will be described below. All the errors can be returned as SOAP faults.
BPE Operation in the Direct Invocation Mode
The direct invocation mode is used when a SOAP request or notification message (112) is sent directly to the BPE (118) and contains an <orchestrate> element in the header or body of the message. The <orchestrate> element contains details of a script that the BPE (118) must load as its instructions, and the remainder of the message to be acted upon by the script. The script can be provided in the message, or the message can contain a hypertext reference (href) attribute describing where the script to be instantiated can be found. The exact behavior of the BPE (118) varies according to whether the message (112) is a request or a notification and whether the <orchestrate> element is in the body or a header of the message (112). In some cases, the BPE process returns a response to the client while in other cases no response is returned. All connection security levels supported by the integration services network (106) are also supported by the BPE (118) in the direct invocation mode.
The BPE (118) reads the script from the message, or from the reference location provided in the message and processes the data in the message in accordance with the script (step 206). Depending on the type of message (112) and where the <orchestrate> element is located within the message (112), the BPE (118) behaves differently. When the <orchestrate> element is in the header, the BPE (118) assumes that it is not the final recipient of the message (112). If there is a response from the BPE (118) when the data in the message is processed in accordance with the defined script, however, the BPE (118) will return that response to the client. If there is no response, the header is removed from the message (112) and the remainder of the message (112) is returned to the client (102). If the invoking message (112) is a notification, no response is returned in either case. When the <orchestrate> element is in the body of a notification message (112), no response is returned. On the other hand, if the <orchestrate> element is in the body of a request message (112), a response is always returned. The returned response includes the response from the orchestration activity (that is, from the web services (108; 110) contacted by the BPE (118) during the orchestration of the message (112)) or, if the orchestration activity does not have a response, an <orchestrationResponse> element in the body of the response. Thus, the response is either a “return” activity of the script, or a compile or runtime error generated by compiling or running the script.
Depending on the placement of the <orchestrate> element and the type of message, as has been described above, the BPE (118) determines whether a response to the message (112) is expected by the client (102) (step 208). If no response is expected, the process ends. If a response is expected, the BPE (118) returns the response to the client (102) (step 210) before the process ends.
The BPE (118) provides error handling capabilities, for example, if the href is invalid or cannot be found, or if the referenced script cannot be compiled. If a request has incorrectly formed XML, then a SOAP fault is returned with the fault string orchestrationEngine:unknownRequest. If an error occurs while compiling a script, then the return is a SOAP fault with the fault string orchestrationEngine:compileFailure. The details field can optionally be filled in with further details of the compilation error. If the href is valid but no script is found, then the return is a SOAP fault with the fault string orchestrationEngine:compileFailure. If the href is invalid, then the return from the getOrchestrationScript call is a SOAP fault with the fault string orchestrationEngine:invalidHref.
The <orchestrate> element can refer to message resources in multiple ways. Attachments include file contents and various attachment properties. The properties are used by clients to determine the nature of the content stored in the attachment, and to locate specific attachments among a set of attachments. The property used to distinguish one attachment from another is the Content-Id. In order to reference an attachment by its Content-Id, the URL is prepended with a “cid:”. For example, ‘cid:mycontentid’ references an attachment with a Content-Id of ‘mycontentid’.
Some implementations of the integration services network (106) include a document manager that acts as a repository for documents that can be accessed by clients (102) and web services (108; 110) that are connected to the integration services network (106). References to files stored in the document manager are read-only and use the format: file:<path>. The <path> refers to the organization that owns the file and the file name assigned to the file being referenced in the document manager. For example, if a company Acme, Inc. with a local integration service network domain of acme.com would like to refer a file labeled “foo.txt” that is stored in the document manager, the company would use the URL ‘file:/acme.com/foo.txt’. If the local domain is omitted, then the organization name defaults to the local domain of the sender of the message. Therefore, the URL in this example could alternatively be ‘file:foo.txe’. The caller referencing the file in the document manager must have sufficient access privileges to that file.
If data is stored within the SOAP envelope, a custom URL statement is used to reference the message part. The URL syntax can only identify XML parts/elements inside the SOAP envelope. The URL can identify either an element in the SOAP Body or the SOAP Header. The syntax is as follows:
Occasionally a request will specify a URL intending to reference a single message part, but the URL corresponds to more than one message part. This is, for example, the case if two attachments in the same message have identical Content-Id header values. In such an event, the integration service network (106) will use the first encountered message part and ignore all other matching message parts. Attachments and message parts referenced as inputs will be consumed by the integration service network (106) and will not be present in the response message.
If a client (102) specifies a message part to store information and that message part does not exist, then the message part will be created by the integration service network (106) in the response. If a client (102) specifies a message part for output and a message part with the same properties already exists in the request, then the existing message part will be replaced by the integration service network (106) in the response.
BPE Operation in the Virtual Mode
To use the BPE (118) in the virtual mode, a BPEL process with BPEL instructions is first created and uploaded to the BPE (118). Any number of messages (112) subsequently addressed to the uploaded BPEL process will be processed and orchestrated according to the uploaded set of instructions. Each invoking message (112) sent to the BPEL process results in a new instance of the router being created to orchestrate that message (112). All messages created by the BPE (118) are addressed from, and shown in reporting as being from the BPEL process associated with the orchestration instructions. The exact behavior of the BPE (118) varies according to whether the message (112) is a request or notification. In some cases, the BPEL process itself returns a response while in others none is sent. Also in the virtual mode, all connection security levels supported by the integration services network (106) are also supported. The BPEL script uploaded to the BPEL process must be well formed XML in the provision script call format expected by the BPE (118) and the web services (108; 110).
Next, a message (112) is received from the client (102) that contains a reference to a particular BPEL script, and some data to be acted upon by the script specified in the message (112) (step 306). The message (112) can be either a notification or a request. The BPE (118) invokes the specified script with the data provided in the message (112) and processes the data in the message in accordance with the script (step 308).
The process then checks whether the received message (112) is a request (step 310). If the message (112) is not a request, then the client (102) is not expecting any response from the BPE (118) and the process ends. If the message (112) is a request, a response is sent from the BPE (118) to the client (102) that issued the message (112) (step 312) before the process ends.
The BPE (118) provides error handling capabilities and referencing capabilities in the virtual mode that are similar to the error handling capabilities and referencing capabilities that have been described above for the direct invocation mode.
BPE Extensions
A number of extensions to the BPEL standard are recognized by the BPE (118) to simplify interaction with the web services (108; 110) that are connected to the integration services network (106). The extensions fall into the categories activities, expressions, and correlations. Activities are actions to be taken by the BPEL process, expressions are used to extract information that is specific to the integration services network (106), and correlations are used to associate instances of scripts with messages that fulfill specific criteria.
In accordance with the BPEL specification, all BPEL extensions have a particular namespace that is specific to the integration services network (106). In the method descriptions that follow, many parameters are described as strings and then illustrated with something like bpws:getVariableData (‘variable’, ‘part’). In this case, the string is evaluated by calling the method getVariableData, defined in the bpws namespace, and the result is used as the string argument. The interpretation of a string as a method is entirely dependent on the existence of the namespace definition, so should the literal string “bpws:getVariableData (‘variable’, ‘part’)” be required to appear, then defining the bpws namespace with a different prefix would be required. All BPEL extensions may be used by either the direct or virtual mode with the exception of the correlation extension, which can only be used in the virtual service mode.
Activities
Activities describe actions to be taken by the orchestration process. The activities described below are described in a similar format to that of the descriptions of other activities in the core BPEL specification.
<InvokeService> The InvokeService activity allows the business process to invoke a one-way or request-response operation on an arbitrary web service (108; 110) connected to the integration services network (106). Unlike the standard invoke activity, no WSDL is required for the service because the entire message (112) referenced by the inputVariable attribute is sent. The operation behaves similarly to the call operation in existing routing programs. The message (112) is sent to a web service (108; 110) whose name is specified in a serviceName attribute. The serviceName is specified in the integration service's web service directory (114). The type of the call made to the service is determined from the existence of an outputVariable attribute. No outputVariable implies a notification; otherwise the call is a request. If there is no outputVariable specified, a network acknowledgement (nack) attribute may be set to true, setting the corresponding element in the Post header of the notification message to the name of the integration services network (106). Specifying nack=“true” for a request message results in a compilation error. A duration attribute sets a timeout or expiration field in the Post header of the call to the integration services network (106). This also implies a blocking limit for requests and nack messages. Neither nack nor duration are used directly by the BPEL service, but merely expose the underlying behavior of the integration services network (106). Correlations, catch, catchall and compensationHandler values are specified as defined in the BPEL specification. The invokeService call blocks until a response or nack is returned, if applicable.
<InvokeMulticast> The invokeMulticast activity allows the business process to invoke a one-way or request/response operation on a number of arbitrary web services (108; 110) that are connected to the integration services network (106). The behavior of the call is identical to the behavior of the invokeService call, except that the recipients parameter is an array of organization/service names rather than just one organization/service name. The type of the call made to the service is determined from the existence of an outputVariable attribute. No outputVariable implies a notification; otherwise the call is a request. If there is no outputVariable specified, the nack attribute may be set to true, setting the corresponding element in the Post headers of the notification messages to the integration services network (106). Specifying nack=“true” for a request message will generate an orchestrationEngine:compileFailure failure. The duration attribute sets the timeout or expiration field in the Post header of the call to integration services network (106). This also implies a blocking limit for requests and nack messages. Neither nack nor duration are used directly by the BPEL service, but merely expose the underlying behavior of the integration services network (106). The inner activity allows processing of responses, and is invalid if no responses are expected. No blocking activities are allowed at this point. Specifying this activity when no response is expected generates a fault. Correlations, catch, catchall and compensationHandler values are specified as defined in the BPEL specification. The invokeMulticast call blocks until all responses or nacks are returned, if applicable.
<InvokeSMTP> The InvokeSMTP activity allows a business process to invoke an SMTP Web service connected to the integration services network (106). The message (112) is sent to a specified recipient email address from a specified email address and with the specified body as the email content. Optionally, a subject can be specified. Correlations, catch, catchall and compensationHandler values are specified as defined in the BPEL spec. This call is non-blocking.
<ForEach> In order to allow processing of elements in an array, the ForEach activity has been added. This activity iterates through the sibling children of a named array variable, copying each element into another named variable that can be accessed using normal variable expressions.
Expressions
Again, to facilitate interacting with the integration services network (106), a number of additional expressions are defined. These expressions usually extract information that is specific to the integration services network (106) and that may help process invocations. As is the case with standard BPEL expressions, any attempt during process execution to use any part of a variable before the variable is initialized will result in an uninitialized variable fault.
AddVariableAttachment—This expression adds a specified first variable as an attachment to a specified second variable and returns the specified second variable. An optional parameter can be specified to give the attachment a particular identifier.
AddVariableHeader—This expression adds a first specified variable as a header to a specified second variable and returns the specified second variable. The optional values of soap actor “mustUnderstand” will be added if supplied; otherwise the values will default to null and false, respectively. If the attachment identifier is unique, the standard selection failure fault is thrown.
Count VariableAttachments—This expression returns the number of attachments for a named message.
DeleteVariableAttachmentById—This expression deletes the attachment with a specified identifier from a named variable and returns the named variable. If no attachment is found, or if the attachment identifier is not unique, a standard selection failure fault is thrown.
DeleteVariableAttachmentByNumber—This expression deletes an attachment with a specified number from a named variable and returns the named variable. If no attachment is found, the standard selection failure fault is thrown.
GetFaultEventCode—This expression returns the event code, if any, in the fault string of a named variable, assuming the variable is a network generated SOAP fault. If the variable is not generated by the integration services network, or if there is no referenced service name, the expression returns “0”.
GetFaultServiceName—This expression returns the referenced service name, if any, in the error string of the named variable, assuming the variable is a network generated SOAP fault. The expression returns null if the variable is not network generated, or if there is no referenced service name.
GetRouterAddress—This expression returns the network address (organization/service) of this process.
GetRouterInvoker—This expression returns the network address (organization/service) of the service that invoked the current instance of this process.
GetRouterSession—This expression returns the network session ID of the current instance of this process.
GetVariableAttachmentByNumber—This expression returns an attachment with a specified number (zero-based) from the named variable. If no such attachment is found, a standard selection failure fault is thrown.
GetVariableAttachmentById—This expression returns an attachment with a specified identifier from the named variable. If no such attachment is found, the standard selection failure fault is thrown. If multiple attachments have the same attachment ID, the first such attachment is returned.
GetVariableAttachmentIds—This expression returns an array of strings containing the identifiers of all attachments of a named variable. The array is empty if there are no attachments.
GetVariableCall—This expression returns a network call identifier of the named variable. The value is read from the delivery header of the referenced variable.
GetVariableSender—This expression returns a network address (organization/service) of the service that sent a named variable. The value is read from the delivery header of the referenced variable.
GetVariableSession—This expression returns a network session identifier of the named variable. The value is read from the delivery header of the referenced variable.
GetVariableToken—This expression returns a network token identifier of the named variable. The value is read from the delivery header of the referenced variable.
GetVariableTopic—This expression returns the topic of the named variable. The value is read from the delivery header of the referenced variable.
GetVariableType—This expression returns the message type of the named variable. The value is read from the delivery header of the referenced variable.
SetVariableExpiration—This expression sets the expiration of the named variable. The value is inserted into the post header of the referenced variable the next time the variable is used in an invoke activity.
SetVariableTimeout—This expression sets the timeout of a named variable. The value is inserted into the post header of the referenced variable the next time the variable is used in an invoke activity.
SetVariableTopic—This expression sets the topic of a named variable. The value is inserted into the post header of the referenced variable the next time the variable is used in an invoke activity.
Correlations
Correlations in BPEL allow an instance of a script to be associated with all messages (112) that fulfill a specified criterion. For example, an invocation call can be given an Xpath query to determine the correct response to be matched to the request. This functionality is unnecessary in the context of the integration services network (106), since all responses have a correlation to their respective requests through a token in the delivery header. Therefore, correlation sets that are specified in terms of activities are ignored. A new correlation specifier is allowed at the global process level as a correlationSet element. GCCorrelation allows the topic or the session of a message (112) to be specified as a correlation identifier. If either the topic or the session is set, then all messages (112) sent to the virtual service associated with that script with the same session or topic will be processed by the same instance of the script. No other correlation specifiers are recognized at this level. No correlation specifiers are allowed for scripts in direct invocation mode.
SOAP Faults
Table 1 below lists the SOAP faults returned by the integration services network (106) during invocation of the BPE (118) and during BPEL script processing. BPEL fault catchers are found using the qualified name of the fault type and a message type. Since usually the only faults returned by the integration services network (106) are either soap:Server, or soap:Client, it would be hard to differentiate between, say, a delivery failure and a timeout message. In order to enable finer-grained fault handling than would be possible with the default errors, the BPEL service maps errors generated in the integration services network (106) to different qualified names. All the faults have a namespace URL that is specific to the integration services network (106), and a local name that is one of “post”, “routing”, “delivery”, “response” or “timeout”.
TABLE 1
Local name
Description
Receipt
Receipt is for errors encountered during
posting a message to the integration
services network.
Routing
Routing is for errors encountered during
processing of a message inside the
integration services network.
Delivery
Delivery for errors encountered during
delivery of a message inside the integration
services network, except timeout errors.
Response
Response for errors encountered during
routing of a message inside the integration
services network, except timeout errors.
Timeout
Timeout for errors indicating that a
message timed out or expired before it was
delivered or before a response was
received.
Multicast Use Example of the BPE
This example demonstrates how to use the BPE (118) to broadcast a single message (112) to multiple recipients, such as web services (108; 110) with a retry capability. Additionally, the only way the client (102) sending out the message (112) wants to be alerted to any failures and be given the opportunity to re-send the message (112) is by email. This is achieved by having the catch block of the multicast message (112) send an email that contains a link to the web-based messaging screen of the initiating service. The web-based messaging page generates a notification, containing the name of the service whose delivery failed, that is sent to the BPE (118). The BPE (118) handles the notification as an asynchronous event and resends the original request to the service that failed delivery.
As can be seen in
The process then checks whether the messages have been received by all the intended recipients (step 408). If the messages have been properly received, the process proceeds to step 416, where the result of the multicast process, such as a combined response from all the recipients or a confirmation, is sent back to the originating client (102) (step 416), upon which the process ends. If the any of the recipients have not received a copy of the message from the BPE (118), the BPE (118) notifies the client (102) about which recipients did not receive the message by sending an email containing a retry link to the client (102) (step 410). The client (102) can then decide whether to try to resend the message to the failed recipients (step 412). If the client (102) decides not to resend the message (112), the process ends, but otherwise the message is resent (step 414). Optionally, the messages that could be received can be resent automatically a certain number of times or during a certain time period. Finally, the process sends the result of the multicast process back to the client (102) (step 416).
Table 2 below shows a WSDL file that defines two messages. The first message invokes the initial multicast process and contains the recipients, how long the multicast message should live, and details on where to send an email message in the event of failure and how long to wait for a retry request. The other message contains a service address and tells the BPE (118) to re-send the initial message (112) to that service only. Note that there is no binding for the “retryPT” port type since it is called from web-based messaging, which does not require such a binding.
TABLE 2
WSDL File
multicast.wsdl
<main program logic>
<receive request message/>
<send the request message to every recipient specified in the request
message>
<if a soapFault is thrown for a recipient,
email a message to the address contained in the request
message containing a URL which will lunch WBM to send
a retry request. Sleep for retry wait duration.>
</main program logic>
<event handler>
<if a retry request arrives (out-of-bound), resend the
request message to the recipient specified. Sleep for retry wait
duration.>
<if a soapFault is thrown,
email a message to the address contained in the request
message containing a URL which will lunch WBM to send
a retry request. Sleep for retry wait duration.>
</event handler>
The process is defined by the Business Process script of Table 3 below, immediately preceding the claims section.
In Table 3, the BPEL script starts with a process definition of the “multicastProcess” and a listing of XML namespaces (xmlns) that are used by the multicast process. The next element describes a set of variables that are used by the process. The variables map internal variable names to external message variables that are defined in WSDL by this BPEL process and other processes that get invoked by this process.
The main logic of the process is defined inside the sequence element. The event handler defines asynchronous message handling, and in particular the generation of the retry email message that is sent to the client (102) in the event of a non-responsive recipient of the message (112). The receive element that follows the event handler contains instructions for receiving the message (112) from the client and creating an instance of the BPEL multicast process.
The next action is invoke multicast, which receives the list of recipients from the message (112) and sends a copy of the message (112) to each of the recipients (108; 110). A number of fault handlers are included so that if any of the recipients fail to receive the message, the various fault handlers are invoked. The copying of strings creates an email that is sent to the client (102) to tell the client (102) that a recipient (108; 110) failed to receive the message (112). As a result of clicking on that email, the message is brought back into the integration services network (106) and an asynchronous message is generated that goes back into the event handlers, which causes the original message (112) to be resent to the recipients (108; 110). This can occur multiple times, either until a time out occurs, or until a certain number of attempts has been made, or until the intended recipient receives the message.
The invention can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Apparatus of the invention can be implemented in a computer program product tangibly embodied in a machine-readable storage device for execution by a programmable processor; and method steps of the invention can be performed by a programmable processor executing a program of instructions to perform functions of the invention by operating on input data and generating output. The invention can be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. Each computer program can be implemented in a high-level procedural or object-oriented programming language, or in assembly or machine language if desired; and in any case, the language can be a compiled or interpreted language. Suitable processors include, by way of example, both general and special purpose microprocessors. Generally, a processor will receive instructions and data from a read-only memory and/or a random access memory. Generally, a computer will include one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM disks. Any of the foregoing can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).
To provide for interaction with a user, the invention can be implemented on a computer system having a display device such as a monitor or LCD screen for displaying information to the user. The user can provide input to the computer system through various input devices such as a keyboard and a pointing device, such as a mouse, a trackball, a microphone, a touch-sensitive display, a transducer card reader, a magnetic or paper tape reader, a tablet, a stylus, a voice or handwriting recognizer, or any other well-known input device such as, of course, other computers. The computer system can be programmed to provide a graphical user interface through which computer programs interact with users.
Finally, the processor optionally can be coupled to a computer or telecommunications network, for example, an Internet network, or an intranet network, using a network connection, through which the processor can receive information from the network, or might output information to the network in the course of performing the above-described method steps. Such information, which is often represented as a sequence of instructions to be executed using the processor, can be received from and outputted to the network, for example, in the form of a computer data signal embodied in a carrier wave. The above-described devices and materials will be familiar to those of skill in the computer hardware and software arts.
It should be noted that the present invention employs various computer-implemented operations involving data stored in computer systems. These operations include, but are not limited to, those requiring physical manipulation of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. The operations described herein that form part of the invention are useful machine operations. The manipulations performed are often referred to in terms, such as, producing, identifying, running, determining, comparing, executing, downloading, or detecting. It is sometimes convenient, principally for reasons of common usage, to refer to these electrical or magnetic signals as bits, values, elements, variables, characters, data, or the like. It should remembered however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities.
The present invention also relates to a device, system or apparatus for performing the aforementioned operations. The system can be specially constructed for the required purposes, or it can be a general-purpose computer selectively activated or configured by a computer program stored in the computer. The processes presented above are not inherently related to any particular computer or other computing apparatus. In particular, various general-purpose computers can be used with programs written in accordance with the teachings herein, or, alternatively, it can be more convenient to construct a more specialized computer system to perform the required operations.
A number of implementations of the invention have been described. Nevertheless, it will be understood that various modifications can be made without departing from the spirit and scope of the invention. For example, the above processes have all been defined in terms of XML and BPEL, but any suitable language for expressing business processes, such as JAVA™ or JavaScript™ can be used. Accordingly, other embodiments are within the scope of the claims.
TABLE 3
Business Process Script
<process name=“multicastProcess”
targetNamespace=“http://acme.com/orders”
suppressJoinFailure=“yes”
xmlns=“http://schemas.xmlsoap.org/ws/2003/03/business-process/”
xmlns:bpws=“http://schemas.xmlsoap.org/ws/2003/03/business-
process/”
xmlns:gc=“http://grandcentralservices.com/schemas/orchestration/1.0/”
xmlns:soap=“http://schemas.xmlsoap.org/wsdl/soap/”
xmlns:wsdl=“http://schemas.xmlsoap.org/wsdl/”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”
xmlns:gcf=“http://grandcentral.com/faults”
xmlns:lns=“http://grandcentral.com/multicast”>
<variables>
<variable name=“request”
messageType=“lns:multicastMessage”/>
<variable name=“soapFault” messageType=“soap:Fault”/>
<variable name=“resend”
messageType=“lns:multicastResendMessage”/>
<variable name=“bodyBuffer” type=“xsi:string”/>
</variables>
<sequence>
<eventHandlers>
<onMessage variable=“resend” operation=“retry”>
<gc:invokeService
recipient=“bpws:getVariableProperty(‘resend’,
‘recipient’, ‘\’)”
inputVariable=“request” type=“notification”>
<catch faultName=“gcf:timeout”/>
<catch faultVariable=“soapFault”>
<sequence>
<assign>
<copy>
<from expression=“This message was generated
in response to a re-delivery failure of a multicast message to service
”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) +
bpws:getFaultServiceName(‘soapFault’)”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) + ‘Please click the link
below to re-send the message’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) +
‘http://serveng01.dev.grandcentral.com/newPrePopMessageDetail.do?service
Id=’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) + gc:getRouterInvoker( )”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) +
‘&editType=new&compostitionType=new&messageType=notification
&recipient=’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) + gc:getRouterAddress( )”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) + ‘&session=’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) + gc:getRouterSession( )”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) + ‘&topic=Resend
request&body=<nsms:multicastResendMessage
xmlns:nsms="http://grandcentral.com/multicast"><nsms:recipient
>’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) +
bpws:getFaultServiceName(‘soapFault’)”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from
expression=“bpws:getVariableData(bodyBuffer) +
‘</nsms:recipient></nsms:multicastResendMessage>’”/>
<to variable=“bodyBuffer”/>
</copy>
</assign>
<gc:invokeSMTP
to=“bpws:getVariableProperty(‘request’, ‘errorEmailAddress’)”
subject=“Multicast re-delivery failure”
body=“bpws:getVariableData(bodyBuffer)”/>
<wait for=“bpws:getVariableProperty(‘request’,
‘retryWaitDuration’)”/>
</sequence>
</catch>
</gc:invokeService>
</onMessage>
</eventHandlers>
<receive name=“receive”
portType=“lns:multicastPT”
operation=“multicast” variable=“request”
createInstance=“yes”>
</receive>
<gc:invokeMulticast name=“invokeRecipients”
type=“nack”
inputVariable =“request” >
<catch faultName=“gcf:timeout”/>
<catch faultVariable =“soapfault”>
<sequence>
<assign>
<copy>
<from expression=“This message was generated in response
to a re-delivery failure of a multicast message to service ”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
bpws:getFaultServiceName(‘soapFault’)”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
‘Please click the link below to re-send the message’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
‘http://serveng01.dev.grandcentral.com/newPrePopMessageDetail.do?service
Id=’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
gc:getRouterInvoker( )”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
‘&editType=new&compostitionType=new&messageType=notification
&recipient=’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
gc:getRouterAddress( )”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
‘&session=’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
gc:getRouterSession( )”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
‘&topic=Resend request&body=<nsms:multicastResendMessage
xmlns:nsms="http://grandcentral.com/multicast"><nsms:recipient
>’”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
bpws:getFaultServiceName(‘soapFault’)”/>
<to variable=“bodyBuffer”/>
</copy>
<copy>
<from expression=“bpws:getVariableData(bodyBuffer) +
‘</nsms:recipient></nsms:multicastResendMessage> ’”/>
<to variable=“bodyBuffer”/>
</copy>
</assign>
<gc:invokeSMTP to=“bpws:getVariableProperty(‘request’,
‘errorEmailAddress’)”
subject=“Multicast re-delivery failure”
body=“bpws:getVariableData(bodyBuffer)”/>
<wait for=“bpws:getVariableProperty(‘request’,
‘retryWaitDuration’)”/>
</sequence>
</catch>
<catchAll>
<sequence>
<assign>
<copy>
<from expression=“This message was generated in response to a
delivery failure of a multicast message to an unknown recipient. This
error is probably not recoverable.”/>
<to variable=“bodyBuffer”/>
<from expression=“bpws:getVariableData(bodyBuffer) + ‘The
session id of the message is ’ + bpws:getRouterSession( )”/>
<to variable=“bodyBuffer”/>
</copy>
</assign>
<gc:invokeSMTP to=“bpws:getVariableProperty(‘request’,
‘errorEmailAddress’)”
subject=“Multicast delivery failure”
body=“bpws:getVariableData(bodyBuffer)”/>
</sequence>
</catchAll>
</gc:invokeMulticast>
</sequence>
</process>
Patent | Priority | Assignee | Title |
10116499, | Oct 30 2014 | EQUINIX, INC. | Interconnection platform for real-time configuration and management of a cloud-based services exchange |
10129078, | Oct 30 2014 | EQUINIX, INC | Orchestration engine for real-time configuration and management of interconnections within a cloud-based services exchange |
10178050, | May 19 2004 | Salesforce.com, Inc. | Techniques for providing connections to services in a network environment |
10230571, | Oct 30 2014 | EQUINIX, INC | Microservice-based application development framework |
10489730, | Oct 16 2003 | SALESFORCE, INC | Managing virtual business instances within a computer network |
10764126, | Oct 30 2014 | EQUINIX, INC. | Interconnection platform for real-time configuration and management of a cloud-based services exhange |
10778611, | May 19 2004 | Salesforce.com, Inc. | Techniques for providing connections to services in a network environment |
10860773, | Apr 21 2004 | IYM Technologies LLC | Integrated circuits having in-situ constraints |
11042271, | Oct 01 2004 | SALESFORCE, INC | Multiple stakeholders for a single business process |
11218363, | Oct 30 2014 | EQUINIX, INC. | Interconnection platform for real-time configuration and management of a cloud-based services exchange |
11483258, | May 19 2004 | Salesforce, Inc. | Techniques for providing connections to services in a network environment |
8073590, | Aug 22 2008 | International Business Machines Corporation | System, method, and computer program product for utilizing a communication channel of a mobile device by a vehicular assembly |
8078397, | Aug 22 2008 | International Business Machines Corporation | System, method, and computer program product for social networking utilizing a vehicular assembly |
8117225, | Jan 18 2008 | International Business Machines Corporation | Drill-down system, method, and computer program product for focusing a search |
8117242, | Jan 18 2008 | International Business Machines Corporation | System, method, and computer program product for performing a search in conjunction with use of an online application |
8131458, | Aug 22 2008 | International Business Machines Corporation | System, method, and computer program product for instant messaging utilizing a vehicular assembly |
8190692, | Aug 22 2008 | International Business Machines Corporation | Location-based messaging system, method, and computer program product |
8265862, | Aug 22 2008 | International Business Machines Corporation | System, method, and computer program product for communicating location-related information |
8522306, | Oct 14 2003 | Salesforce.com, Inc. | System, method and computer program product for implementing at least one policy for facilitating communication among a plurality of entities |
8549359, | May 12 2010 | SALESFORCE COM, INC | Method and system for identifying errors in code |
8601443, | Feb 12 2008 | ServiceNow, Inc; International Business Machines Corporation | Method and system for correlating trace data |
9195648, | Oct 12 2011 | Salesforce.com, Inc. | Multi-lingual knowledge base |
9244599, | Oct 01 2004 | Salesforce.com, Inc. | Multiple stakeholders for a single business process |
9338214, | Oct 16 2003 | Salesforce.com, Inc. | Managing virtual business instances within a computer network |
9473536, | Oct 14 2003 | Salesforce.com, Inc. | Method, system, and computer program product for facilitating communication in an interoperability network |
9626637, | Sep 18 2012 | SALESFORCE COM, INC | Method and system for managing business deals |
9645712, | Oct 01 2004 | SALESFORCE COM, INC | Multiple stakeholders for a single business process |
9792002, | Oct 01 2004 | Salesforce.com, Inc. | Multiple stakeholders for a single business process |
9886267, | Oct 30 2014 | EQUINIX, INC | Interconnection platform for real-time configuration and management of a cloud-based services exchange |
9887876, | Oct 30 2014 | EQUINIX, INC. | Interconnection platform for real-time configuration and management of a cloud-based services exchange |
9916549, | Oct 16 2003 | Salesforce.com, Inc. | Managing virtual business instances within a computer network |
Patent | Priority | Assignee | Title |
5119377, | Jun 16 1989 | International Business Machines Corporation, | System and method for software error early detection and data capture |
5222234, | Dec 28 1989 | International Business Machines Corp. | Combining search criteria to form a single search and saving search results for additional searches in a document interchange system |
5255389, | Jun 21 1990 | International Business Machines Corporation | Document interchange replace option via a copy command |
5333312, | Jun 21 1990 | International Business Machines Corp. | Synchronous and asynchronous copying of a document into a folder in a target library |
5850518, | Dec 12 1994 | Cappelle Networking DE, LLC | Access-method-independent exchange |
5903652, | Nov 25 1996 | Microsoft Technology Licensing, LLC | System and apparatus for monitoring secure information in a computer network |
6032118, | Dec 19 1996 | RPX CLEARINGHOUSE LLC | Virtual private network service provider for asynchronous transfer mode network |
6055513, | Mar 11 1998 | West Corporation | Methods and apparatus for intelligent selection of goods and services in telephonic and electronic commerce |
6065082, | Aug 06 1996 | International Business Machines Corporation | HDLC asynchronous to synchronous converter |
6073142, | Jun 23 1997 | TUMBLEWEED HOLDINGS LLC | Automated post office based rule analysis of e-mail messages and other data objects for controlled distribution in network environments |
6091714, | Apr 30 1997 | TeraForce Technology Corporation | Programmable distributed digital switch system |
6148411, | Apr 05 1996 | Hitachi, LTD | Network system having function of changing route upon failure |
6226623, | May 23 1996 | CITIBANK, N A | Global financial services integration system and process |
6230203, | Oct 20 1995 | Scientific-Atlanta, LLC | System and method for providing statistics for flexible billing in a cable environment |
6233565, | Feb 13 1998 | SARANAC SOFTWARE, INC | Methods and apparatus for internet based financial transactions with evidence of payment |
6256667, | Sep 29 1997 | Viewlocity AB | Intelligent messaging |
6260062, | Feb 23 1999 | Vertel Corporation | Element management system for heterogeneous telecommunications network |
6292789, | Aug 21 1998 | CITIBANK, N A | Method and system for bill presentment and payment |
6304969, | Mar 16 1999 | Microsoft Technology Licensing, LLC | Verification of server authorization to provide network resources |
6336135, | May 24 1996 | International Business Machines Corporation | Gateway for converting synchronous client/server protocols into asynchronous messaging protocols and storing session state information at the client |
6338050, | Nov 16 1998 | WHITELIGHT TECHNOLOGY, LLC | System and method for providing and updating user supplied context for a negotiations system |
6351739, | Jul 07 1995 | AT&T Intellectual Property I, L P | Internet billing method |
6397197, | Aug 26 1998 | e-Lynxx Corporation | Apparatus and method for obtaining lowest bid from information product vendors |
6397254, | Dec 12 1994 | Cappelle Networking DE, LLC | Access-method-independent exchange 3 |
6421705, | Dec 12 1994 | Cappelle Networking DE, LLC | Service provider application program communicating with service provider application process |
6438594, | Aug 31 1999 | Accenture Global Services Limited | Delivering service to a client via a locally addressable interface |
6449634, | Jan 29 1999 | ZETA GLOBAL CORP | Method and system for remotely sensing the file formats processed by an E-mail client |
6470357, | Jul 28 1998 | International Business Machines Corporation | System and method of enhanced directory services for telecommunications management network applications |
6470385, | Mar 20 1998 | Fujitsu Limited | Network monitoring system, monitored controller, and monitoring controller |
6499108, | Nov 19 1996 | Secure electronic mail system | |
6526044, | Jun 29 1999 | WANDEL & GOLTERMANN TECHNOLOGIES, INC | Real-time analysis through capture buffer with real-time historical data correlation |
6529489, | May 25 1998 | Mitsubishi Denki Kabushiki Kaisha | Plural communication connection setting method |
6546413, | Dec 12 1994 | Cappelle Networking DE, LLC | Access-method-independent exchange using a communication primitive |
6549944, | Oct 15 1996 | MICRO FOCUS LLC | Use of server access logs to generate scripts and scenarios for exercising and evaluating performance of web sites |
6587838, | Jan 25 1999 | TELECOMMUNICATION SYSTEMS, INC | Method and system for conducting real time electronic commerce |
6633630, | Jun 18 1996 | Cranberry Properties, LLC | System for integrated electronic communications |
6651087, | Jan 28 1999 | Bellsouth Intellectual Property Corporation | Method and system for publishing an electronic file attached to an electronic mail message |
6671716, | Nov 28 1997 | International Business Machines Corporation | Processing extended transactions in a client-server system |
6671746, | Dec 12 1994 | Cappelle Networking DE, LLC | Execution of application process using registry having binding methods |
6704768, | Jan 31 2000 | TELECOMMUNICATION SYSTEMS, INC | System, method and computer program product for providing server discovery services during a startup sequence |
6714987, | Nov 05 1999 | Apple Inc | Architecture for an IP centric distributed network |
6718380, | Oct 26 1998 | Cisco Technology, Inc. | Method and apparatus for storing policies for policy-based management of network quality of service |
6735621, | Feb 18 2000 | RPX CLEARINGHOUSE LLC | Method and apparatus for messaging between disparate networks |
6763104, | Feb 24 2000 | RPX Corporation | Call center IVR and ACD scripting method and graphical user interface |
6813278, | Nov 30 1999 | Accenture Global Services Limited | Process for submitting and handling a service request in a local service management system |
6857072, | Sep 27 1999 | Hewlett Packard Enterprise Development LP | System and method for enabling encryption/authentication of a telephony network |
6877023, | Jan 28 2000 | Taiwan Semiconductor Manufacturing Company, Ltd | Messaging system for delivering data in the form of portable message formats between message clients |
6886026, | Nov 21 2000 | ACTIVISION PUBLISHING, INC | Method and apparatus providing autonomous discovery of potential trading partners in a dynamic, decentralized information economy |
6917962, | Oct 22 1997 | OPEN TEXT S A | Web-based groupware system |
6925488, | Feb 28 2001 | International Business Machines Corporation | Distributed intelligent information technology operations automation |
6934532, | Feb 09 2000 | Apriva, LLC | Communication systems, components, and methods operative with programmable wireless devices |
6948063, | Dec 23 1999 | CheckFree Corporation | Securing electronic transactions over public networks |
6952717, | Oct 20 2000 | AUTODESK, Inc | Document and message exchange system for ASP model |
6965878, | Aug 16 2000 | Currency and credit rating system for business-to-business transaction | |
7028312, | Mar 23 1998 | SOFTWARE AG USA, INC | XML remote procedure call (XML-RPC) |
7035202, | Mar 16 2001 | Juniper Networks, Inc | Network routing using link failure information |
7088727, | Mar 12 1997 | GATE WORLDWIDE HOLDINGS LLC | System and method for establishing network connection with unknown network and/or user device |
7099950, | Mar 13 2000 | RAKUTEN GROUP, INC | Method and apparatus for using XML for both a protocol layer and application layer |
7127613, | Feb 25 2002 | Oracle America, Inc | Secured peer-to-peer network data exchange |
7152204, | Oct 18 2001 | Oracle International Corporation | System and method utilizing an interface component to query a document |
7249195, | Mar 30 2001 | SALESFORCE COM, INC | Apparatus and methods for correlating messages sent between services |
7305454, | Mar 30 2001 | SALESFORCE COM, INC | Apparatus and methods for provisioning services |
7516191, | Mar 26 2001 | SALESFORCE COM, INC | System and method for invocation of services |
7689711, | Mar 26 2001 | SALESFORCE COM, INC | System and method for routing messages between applications |
20010005358, | |||
20010029478, | |||
20020013854, | |||
20020019797, | |||
20020029201, | |||
20020058277, | |||
20020087371, | |||
20020091533, | |||
20020138166, | |||
20020143819, | |||
20020161611, | |||
20030018808, | |||
20030037250, | |||
20030041178, | |||
20030053459, | |||
20030058277, | |||
20030126136, | |||
20030191816, | |||
20040078373, | |||
20040162741, | |||
20040167987, | |||
20040186891, | |||
20040243574, | |||
20050005164, | |||
20050080914, | |||
20050166209, | |||
20050228863, | |||
20050234928, | |||
20060031225, | |||
20060155871, | |||
20080052775, | |||
20090019534, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Sep 24 2004 | HINKS, PAUL | GRAND CENTRAL COMMUNICATIONS, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 015845 | /0213 | |
Sep 27 2004 | Salesforce.com, Inc. | (assignment on the face of the patent) | / | |||
Dec 16 2005 | GRAND CENTRAL COMMUNICATIONS, INC | UECKER & ASSOCIATES, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019687 | /0141 | |
Dec 16 2005 | UECKER & ASSOCIATES | ON DEMAND VENTURE FUND LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019691 | /0145 | |
Feb 09 2007 | ON DEMAND VENTURE FUND, LLC | Minor Ventures, LLC | MERGER SEE DOCUMENT FOR DETAILS | 019697 | /0784 | |
Oct 31 2007 | Minor Ventures, LLC | SALESFORCE COM, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020072 | /0012 |
Date | Maintenance Fee Events |
Jun 21 2011 | RMPN: Payer Number De-assigned. |
Jun 22 2011 | ASPN: Payor Number Assigned. |
Mar 11 2014 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Sep 05 2018 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Sep 05 2022 | M1553: Payment of Maintenance Fee, 12th Year, Large Entity. |
Date | Maintenance Schedule |
Mar 08 2014 | 4 years fee payment window open |
Sep 08 2014 | 6 months grace period start (w surcharge) |
Mar 08 2015 | patent expiry (for year 4) |
Mar 08 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 08 2018 | 8 years fee payment window open |
Sep 08 2018 | 6 months grace period start (w surcharge) |
Mar 08 2019 | patent expiry (for year 8) |
Mar 08 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 08 2022 | 12 years fee payment window open |
Sep 08 2022 | 6 months grace period start (w surcharge) |
Mar 08 2023 | patent expiry (for year 12) |
Mar 08 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |