Apparatus, system, and method for automatically generating a reusable software component for interfacing with a web service
First Claim
1. A computer program product comprising:
- a non-transitory computer readable storage medium storing computer readable program code executable by a processor, the computer readable program code performing;
receiving a web service identifier of a web service from an application requesting use of the web service;
searching for a Universal Resource Locator (URL) for the web service in response to the web service identifier lacking a valid URL for the web service;
accepting input parameters as application code of a programming language of the application;
determining one or more functions provided by the web service corresponding to the web service identifier;
generating a reusable web service component based on the one or more functions and the input parameters, the reusable web service component comprising computer readable instructions to integrate with the application;
invoking the web service using the reusable web service component to perform a requested function;
receiving a web service result from the requested function of the one or more functions;
converting the web service result into application code of the programming language of the application; and
assigning the web service result to an output parameter in application code of the programming language of the application.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, system, and method are disclosed for automatically generating a reusable software component for interfacing with a web service. The apparatus for automatically generating a reusable software component for interfacing with a web service is provided with a logic unit containing a plurality of module configured to functionally execute the steps of receiving a web service identifier, establishing communication with a web service, determining one or more functions provided by the web service, and automatically generating a reusable web service component configured to receive an application request and return a web service result. These modules in the described embodiments include a receiving module, a determination module, a communication module, and a generation module. Beneficially, such an apparatus, system, and method would facilitate creation, test, and integration of web service components in application code without requiring a substantial time and resource investment.
-
Citations
19 Claims
-
1. A computer program product comprising:
-
a non-transitory computer readable storage medium storing computer readable program code executable by a processor, the computer readable program code performing; receiving a web service identifier of a web service from an application requesting use of the web service; searching for a Universal Resource Locator (URL) for the web service in response to the web service identifier lacking a valid URL for the web service; accepting input parameters as application code of a programming language of the application; determining one or more functions provided by the web service corresponding to the web service identifier; generating a reusable web service component based on the one or more functions and the input parameters, the reusable web service component comprising computer readable instructions to integrate with the application; invoking the web service using the reusable web service component to perform a requested function; receiving a web service result from the requested function of the one or more functions; converting the web service result into application code of the programming language of the application; and assigning the web service result to an output parameter in application code of the programming language of the application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An apparatus comprising:
-
a non-transitory computer readable storage medium storing computer readable program code executable by a processor, the computer readable program code performing; receiving a web service identifier of a web service from an application requesting use of the web service; searching for a Universal Resource Locator (URL) for the web service in response to the web service identifier lacking a valid URL for the web service; accepting input parameters as application code of a programming language of the application; determining one or more functions provided by the web service corresponding to the web service identifier; generating a reusable web service component based on the one or more functions and the input parameters, the reusable web service component comprising computer readable instructions to integrate with the application; invoking the web service using the reusable web service component to perform a requested function; receiving a web service result from the requested function, of the one or more functions; converting the web service result into application code of the programming language of the application; and assigning the web service result to an output parameter in application code of the programming language of the application.
-
-
10. A system comprising:
-
a computer network configured to provide data communication between a web service server and a web service utility; a server connected to the computer network and configured to host a web service; and a processor connected to the computer network; a non-transitory computer readable storage medium storing computer readable program code executable by the processor, the computer readable program code performing; receiving a web service identifier of a web service from an application requesting use of the web service; searching for a Universal Resource Locator (URL) for the web service in response to the web service identifier lacking a valid URL for the web service; accepting input parameters as application code of a programming language of the application; determining one or more functions provided by the web service corresponding to the web service identifier; generating a reusable web service component based on the one or more functions and the input parameters, the reusable web service component comprising computer readable instructions to integrate with the application; invoking the web service using the reusable web service component to perform a requested function; receiving a web service result from the requested function of the one or more functions; converting the web service result into application code of the programming language of the application; and assigning the web service result to an output parameter in application code of the programming language of the application. - View Dependent Claims (11, 12, 13)
-
-
14. A method comprising:
-
receiving, by use of a processor, a web service identifier of a web service from an application requesting use of the web service; searching for a Universal Resource Locator (URL) for the web service in response to the web service identifier lacking a valid URL for the web service; accepting input parameters as application code of a programming language of the application; determining one or more functions provided by the web service corresponding to the web service identifier; generating a reusable web service component based on the one or more functions and the input parameters, the reusable web service component comprising computer readable instructions to integrate with the application; invoking the web service using the reusable web service component to perform a requested function; receiving a web service result from the requested function of the one or more functions; converting the web service result into application code of the programming language of the application; and assigning the web service result to an output parameter in application code of the programming language of the application. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification