摘要 |
<p>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.</p> |