EP1569106A2

A scheduler supporting web service invocation

Abstract

The present invention proposes a method and a corresponding system for scheduling invocation of web services from a central point of control. For this purpose, a scheduler (205) accesses a workload database (220), which associates an execution agent (210) and a descriptor (240) with each job to be submitted. In the proposed solution, the descriptor identifies a desired web service (255) and the address of the corresponding WSDL document (245), which specify the structure of the messages supported by the web service (for example, conforming to the SOAP specification); the descriptor also includes the actual content of a request message to be passed to the web service. Whenever the job is submitted for execution (according to a predefined plan), the scheduler sends its descriptor to the associated agent. In response thereto, the agent downloads the WSDL document of the corresponding web service; a request message (250) for the web service is then built 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 (as specified in the WSDL document), so as to cause its invocation.

EP1569106A2, drawing sheet 1
Sheet 1 of 28

Term

Term ended

Projected expiry passed 17 September 2024, 2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

12 claims: 7 independent, 5 dependent

  1. 1
    A method (300) of scheduling execution of work units in a data processing infrastructure with a distributed architecture, the method including the steps under the control of a central scheduling application of:associating (304) at least one of the work units with a descriptor including an indication of an external service being accessible according to a predefined interface document, submitting (308) the work units for execution according to a predefined plan, retrieving (336) the interface document of each external service associated with the submitted work units, building (338-342) a request message for each external service associated with the submitted work units according to the corresponding interface document, and sending (364) each request message to the corresponding external service to cause the invocation of the external service.
  2. 5
    The method (300) according to any claim from 1 to 4, wherein the central scheduling application includes a scheduler and at least one agent, the scheduler performing the steps of associating (304) and submitting (308), and wherein each descriptor further includes an indication of the agent associated with the corresponding work unit, the method further including the steps of:the scheduler sending (316) a request of execution of each submitted work unit to the associated agent, the request of execution including an indication of the corresponding descriptor, and the agent retrieving (336) the interface document of the corresponding external service, building (338-342) the request message for the external service, and sending (364) the request message to the external service in response to the request of execution.
  3. 6
    The method (300) according to any claim from 1 to 5, wherein the indication of the interface document consists of an address of an external location in the infrastructure storing the interface document, the step of retrieving the interface document including:downloading (336) the interface document from the corresponding external location.
  4. 7
    The method according to any claim from 1 to 6, wherein the descriptor includes authentication information for the external service, the method further including the step of:sending (352) the authentication information to the external service, the invocation of the external service being authorized according to the authentication information.
  5. 8
    The method according to any claim from 1 to 7, wherein each external service consists of a web service.
  6. 9
    A computer program (205,210), directly loadable into a working memory of a data processing system (105,110), for performing the method of any claim from 1 to 8 when the program is run on the system.
  7. 11
    A system (105,110) for scheduling execution of work units in a data processing infrastructure (100) with a distributed architecture, the system including a central scheduling application (205,210) having means (220) for associating at least one of the work units with a descriptor including an indication of an external service being accessible according to a predefined interface document, means (205) for submitting the work units for execution according to a predefined plan, means (210) for retrieving the interface document of each external service associated with the submitted work units, means (210) for building a request message for each external service associated with the submitted work units according to the corresponding interface document, and means (210) for sending each request message to the corresponding external service to cause the invocation of the external service.