Web services generation based on client-side code

US10698751B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10698751-B2
Application numberUS-201415524411-A
CountryUS
Kind codeB2
Filing dateNov 4, 2014
Priority dateNov 4, 2014
Publication dateJun 30, 2020
Grant dateJun 30, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In one example in accordance with the present disclosure, a system for web services generation based on client-side code scans client-side code of a web technology to find included server call code, where the server call code includes a request to a web service. The system analyzes the server call code to determine a type of the request to the web service. The system generates web service code capable of handling requests of the type of the request to the web service.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for web services generation, the method comprising: scanning, by a computing device, client-side code of a web technology to find included server call code, wherein the server call code includes a client-side request to a web service; analyzing, by the computing device, the server call code to determine a request type of the client-side request and a plurality of data types of parameters provided for the client-side request to the web service; and prior to receipt of the client-side request, the computing device generating web service code executable by a server to handle requests of the determined request type of the client-side request and the determined plurality of data types of parameters provided for the client-side request to the web service. 2. The method of claim 1 , further comprising: generating web service parameters that the web service code receives when handling requests, wherein data types of the web service parameters are determined based on the plurality of data types of the parameters provided for the client-side request to the web service. 3. The method of claim 1 , wherein the plurality of data types of the parameters provided for the client-side request to the web service are determined by scanning the client-side code to find code where the parameters are defined, initialized or used. 4. The method of claim 2 , wherein the web service parameters are part of a data object and the data object is passed to the web service code. 5. The method of claim 1 , further comprising generating a data object that the web service code will respond with when handling requests, wherein the data object includes at least one response variable whose data type is determined by analyzing a response section of the server call code. 6. The method of claim 5 , wherein the data type of the at least one response variable is determined based on a context of how a corresponding variable is used in the response section of the server call code. 7. A system for web services generation, the system comprising: a processor; and a non-transitory storage medium storing instructions, the instructions executable by the processor to: scan client-side code of a web technology to find included multiple server call code portions; select a server call code portion from the multiple server call code portions, wherein the selected server call code portion includes a client-side request to a web service; analyze the selected server call code portion to determine a request type of the client-side request and a plurality of data types of parameters provided for the client-side request to the web service; and prior to receipt of the client-side request, generate web service code executable by a server to handle requests of the determined request type of the client-side request and the determined plurality of data types of parameters provided for the client-side request to the web service. 8. The system of claim 7 , further comprising a graphical user interface (GUI) that allows a user to perform the selection of the server call code portion from the multiple server call code portions. 9. The system of claim 8 , wherein the GUI displays to the user the multiple server call code portions. 10. The system of claim 7 , further comprising a web interface to receive the client-side code from a remote system, wherein the web interface is also used to send the generated web service code back to the remote system. 11. The system of claim 7 , further comprising instructions to generate at least one response variable to handle response data from the web service, to analyze the selected server call code portion to determine a data format that the server call code portion expects to receive back from the web service, and to use this determination to generate the at least one response variable. 12. A non-transitory machine-readable storage medium encoded with instructions for web services generation, the instructions executable by a processor of a system to cause the system to: scan client-side code of a web technology to find included server call code portions; display all the found server call code portions to a user; allow the user to select a particular server call code portion including a client-side request to a web service; analyze the selected server call code portion to determine a request type of the client-side request and a plurality of data types of parameters provided for the client-side request to the web service; and prior to receipt of the client-side request, generate web service code executable by a server to handle requests of the determined request type of the client-side request and the determined plurality of data types of parameters provided for the client-side request to the web service. 13. The non-transitory machine-readable storage medium of claim 12 , wherein the instructions are executable by a processor of the system to further cause the system to generate a data object that includes web service parameters that are received by the web service code when handling requests. 14. The non-transitory machine-readable storage medium of claim 13 , wherein the data types of the web service parameters are determined by scanning the client-side code to find code where corresponding parameters are defined, initialized or used. 15. The non-transitory machine-readable storage medium of claim 12 , wherein the web service code establishes the web service at a network address and path, wherein the network address and path are extracted from the selected server call code portion. 16. The non-transitory machine-readable storage medium of claim 12 , wherein the system does not include a web service description language (WSDL) file defining an interface between the client-side code and server-side code. 17. The non-transitory machine-readable storage medium of claim 13 , wherein the data object is a data transfer object (DTO) that aggregates multiple pieces of data associated with requests to the web service code. 18. The method of claim 1 , further comprising: generating the web service code without using a web service description language (WSDL) file defining an interface between the client-side code and server-side code. 19. The method of claim 4 , wherein the data object is a data transfer object (DTO) that aggregates multiple pieces of data associated with requests to the web service code. 20. The system of claim 7 , wherein the system does not include a web service description language (WSDL) file defining an interface between the client-side code and server-side code.

Assignees

Inventors

Classifications

  • G06F9/547Primary

    Remote procedure calls [RPC]; Web services · CPC title

  • Remote · CPC title

  • Creation or generation of source code · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10698751B2 cover?
In one example in accordance with the present disclosure, a system for web services generation based on client-side code scans client-side code of a web technology to find included server call code, where the server call code includes a request to a web service. The system analyzes the server call code to determine a type of the request to the web service. The system generates web service code …
Who is the assignee on this patent?
Entit Software Llc, Micro Focus Llc
What technology area does this patent fall under?
Primary CPC classification G06F9/547. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 30 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).