System and method for dynamic web services descriptor generation using templates
AssigneeSap SE
InventorDimitar V. Angelov
Life of this patent
Estimating the term…
Abstract
A system and method for generating a Web services description file is described. In one embodiment, a visualizer process metadata from a configuration file and applies the metadata to a predefined template to generate a portion of a Web services description file. The configuration file stores metadata about a service provided by a Web service. The template file defines structure and syntax of a portion of a Web services description file.
Claims22
A system, comprising:
- a configuration file to store metadata about a service provided by a Web service;
- an archive comprising a memory to store a plurality of template files, wherein the plurality of template files defines structure and syntax of portions of a WSDL (Web Services Definition Language) document and the plurality of template files comprise a service template, a binding template and a port type template;
- and
- a visualizer to import the service template file and metadata from the configuration file to automatically generate a service portion of the WSDL document dynamically in response to receiving a service request at a Web services provider, the service portion comprising an address where the Web service is available, the visualizer to import the binding template and metadata from the configuration file to automatically generate a binding portion of the WSDL document dynamically in response to receiving a binding request separate from the service request at the Web services provider, the binding portion comprising a data format to be used for communication with the Web service, and the visualizer to import the port type template and metadata from the configuration file to automatically generate a port type portion of the WSDL document dynamically in response to receiving a port type request separate from the service request and the binding request at the Web services provider, the port type portion comprising one or more operations to be performed by the Web service.
A computer implemented method, comprising:
- receiving a service request at a Web services provider;
- importing a service template file from a template archive, wherein the template archive stores a plurality of template files defining structure and syntax of portions of a WSDL (Web Services Definition Language) document;
- automatically generating a service portion of a Web services description document dynamically in response to the service request, the generating comprising processing the service template and metadata from a configuration file associated with at least one service provided by the Web services provider, the service portion comprising an address where the at least one service is available;
- receiving a binding request separate from the service request at the Web services provider;
- importing a binding template from the template archive;
- automatically generating a binding portion of the Web services description document dynamically in response to the binding request, the generating comprising processing the binding template and metadata from the configuration file, the binding portion comprising a data format to be used for communication with the at least one service;
- receiving a port type request separate from the service request and the binding request at the Web services provider;
- importing a port type template from the template archive;
- and
- automatically generating a port type portion of the Web services description document dynamically in response to the port type request, the generating comprising processing the port type template and metadata from the configuration file, the port type portion comprising one or more operations to be performed by the at least one service.
An article of manufacture comprising a memory including stored program code which, when executed by a machine, causes the machine to perform operations comprising:
- receiving a service request at a Web services provider;
- importing a service template file from a template archive, wherein the template archive stores a plurality of template files defining structure and syntax of portions of a WSDL (Web Services Definition Language) document;
- automatically generating a service portion of a Web services description document dynamically in response to the service request, the generating comprising processing the service template and metadata from a configuration file associated with at least one service provided by the Web services provider, the service portion comprising an address where the at least one service is available;
- receiving a binding request separate from the service request at the Web services provider;
- importing a binding template from the template archive;
- automatically generating a binding portion of the Web services description document dynamically in response to the binding request, the generating comprising processing the binding template and metadata from the configuration file, the binding portion comprising a data format to be used for communication with the at least one service;
- receiving a port type request separate from the service request and the binding request at the Web services provider;
- importing a port type template from the template archive;
- and
- automatically generating a port type portion of the Web services description document dynamically in response to the port type request, the generating comprising processing the port type template and metadata from the configuration file, the port type portion comprising one or more operations to be performed by the at least one service.
Dependencies are inferred from the claim text.