# US 2008/0307420 A1 · Scheduler Supporting Web Service Invocation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307420 A1
- Document ID: US20080307420A1
- Status: Published application
- Kind: A1
- Application number: 12/118,933
- Filed: 2008-05-12
- Published: 2008-12-11
- Earliest claimed: 2003-12-30
- Assignees: International Business Machines Corporation
- Inventors: Fabio Benedetti
- Web page: https://patentgrep.com/patent/US20080307420A1

## CPC

- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention proposes a method and a corresponding system for scheduling invocation of web services from a central point of control. A scheduler accesses a workload database, which associates an execution agent and a descriptor with each submitted job. The descriptor identifies a desired web service, an address of a corresponding WSDL document, and the actual content of a request message to be passed to the web service. Whenever the job is submitted for execution, the scheduler sends the job's descriptor to the associated agent. In response thereto, the agent downloads the WSDL document that specifies the structure of the messages supported by the web service. The scheduler builds a request message for the web service embedding the desired content into the structure specified in the WSDL document. The agent sends the request message to an endpoint implementing the web service, so as to cause its invocation.

## Claims

### Claim at position 1

1-12. (canceled)

### Claim 13

A system, comprising:
a scheduler;
a set of agents;
a processor; and
a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to:
submit, by the scheduler, a set of work units for execution according to a predefined plan, wherein the scheduler and the set of agents are comprised in a central scheduling application;
for each work unit in the set of work units, identify, by the scheduler a descriptor associated with each work unit, wherein the descriptor identifies an external service within a set of external services that is to execute the work unit and wherein the descriptor further comprises an indication of an agent in the set of agents that is associated with the work unit;
send, by the scheduler, a request of execution of the work unit to the agent, wherein the request of execution comprises an indication of the descriptor;
retrieve, by the agent, an interface document of the external service;
build, by the agent, a request message for the work unit according to the interface document; and
send, by the agent, the request message to the external service to cause invocation of the external service in response to the request of execution.

### Claim 14 (depends on 13)

The system according to claim 13, wherein the instructions further cause the processor to:
receive a response message from the external service being invoked; and
interpret the response message according to the interface document.

### Claim 15 (depends on 13)

The system according to claim 13, wherein the interface document specifies a structure of the request message, wherein the descriptor further comprises an indication of a content of the request message, and wherein the instructions to build the request message further cause the processor to:
embed the content of the request message into the structure of the request message.

### Claim 16 (depends on 15)

The system according to claim 15, wherein the indication of the content of the request message comprises a set of input parameters to be passed to the external service, wherein at least one input parameter of the set of input parameters is a symbolic variable, and wherein the instructions to build the request message further cause the processor to:
resolve the symbolic variable into an actual value.

### Claim 17 (depends on 13)

The system according to claim 13, wherein the descriptor identifies an address of an external location in the external service where the interface document is stored and wherein the instructions to retrieve the interface document further cause the processor to:
download the interface document from the external location.

### Claim 18

A computer program product stored on a computer readable medium having a computer readable program, wherein the computer readable program, when executed in a data processing system, causes the data processing system to:
submit, by a scheduler, a set of work units for execution according to a predefined plan, wherein the scheduler and a set of agents are comprised in a central scheduling application;
for each work unit in the set of work units, identify, by the scheduler, a descriptor associated with each work unit, wherein the descriptor identifies an external service within a set of external services that is to execute the work unit and wherein the descriptor further comprises an indication of an agent in the set of agents that is associated with the work unit;
send, by the scheduler, a request of execution of the work unit to the agent, wherein the request of execution comprises an indication of the descriptor;
retrieve, by the agent, an interface document of the external service;
build, by the agent, a request message for the work unit according to the interface document; and
send, by the agent, the request message to the external service to cause invocation of the external service in response to the request of execution.

### Claim 19 (depends on 18)

The computer program product according to claim 18, wherein the computer readable program further causes the data processing system to:
receive a response message from the external service being invoked; and
interpret the response message according to the interface document.

### Claim 20 (depends on 18)

The computer program product according to claim 18, wherein the interface document specifies a structure of the request message, wherein the descriptor further comprises an indication of a content of the request message, and wherein the computer readable program to build the request message further includes computer readable program that causes the data processing system to:
embed the content of the request message into the structure of the request message.

### Claim 21 (depends on 20)

The computer program product according to claim 20, wherein the indication of the content of the request message comprises a set of input parameters to be passed to the external service, wherein at least one input parameter of the set of input parameters is a symbolic variable, and wherein the computer readable program to build the request message further includes computer readable program that causes the data processing system to:
resolve the symbolic variable into an actual value.

### Claim 22 (depends on 18)

The computer program product according to claim 18, wherein the descriptor identifies an address of an external location in the external service where the interface document is stored and wherein the computer readable program to retrieve the interface document further includes computer readable program that causes the data processing system to:
download the interface document from the external location.
