Preserving restful web service structure in a client consuming the restful web service
First Claim
Patent Images
1. A processor-executed method comprising:
- identifying a uniform resource identifier (URI) that corresponds to a resource of a RESTful (Representational State Transfer) web service provided by a server, the URI comprising a plurality of elements;
identifying relationships between the plurality of elements of the URI;
determining an entry point of the RESTful web service from the relationships between the plurality of elements, the entry point being a root resource class into the RESTFUL web service;
determining a name of the entry point in the URI from the relationships of the plurality of elements in the URI;
creating programming code for a method of a software development kit (SDK) client by creating programming code for an entry point class using the name of the entry point in the URI; and
replicating, by a processing device, the relationships between the plurality of elements of the URI in the programming code for the method of the SDK client, the programming code comprising programming code corresponding to the entry point.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system identifies a uniform resource identifier (URI) that corresponds to a resource of a RESTful web service. The URI contains elements. The computer system identifies a relationship between the elements of the URI and creates programming code for a method of a software development kit (SDK) client. The method reflects the relationships between the elements of the URI to facilitate communication with the resource of the RESTful web service.
19 Citations
18 Claims
-
1. A processor-executed method comprising:
-
identifying a uniform resource identifier (URI) that corresponds to a resource of a RESTful (Representational State Transfer) web service provided by a server, the URI comprising a plurality of elements; identifying relationships between the plurality of elements of the URI; determining an entry point of the RESTful web service from the relationships between the plurality of elements, the entry point being a root resource class into the RESTFUL web service; determining a name of the entry point in the URI from the relationships of the plurality of elements in the URI; creating programming code for a method of a software development kit (SDK) client by creating programming code for an entry point class using the name of the entry point in the URI; and replicating, by a processing device, the relationships between the plurality of elements of the URI in the programming code for the method of the SDK client, the programming code comprising programming code corresponding to the entry point. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
-
identify a uniform resource identifier (URI) that corresponds to a resource of a RESTful (Representational State Transfer) web service provided by a server, the URI comprising a plurality of elements; identify relationships between the plurality of elements of the URI; determine an entry point of the RESTful web service from the relationships between the plurality of elements, the entry point being a root resource class into the RESTFUL web service; determine a name of the entry point in the URI from the relationships of the plurality of elements in the URI; create programming code for a method of a software development kit (SDK) client by creating programming code for an entry point class using the name of the entry point in the URI; and replicate, by the processing device, the relationships between the plurality of elements of the URI in the programming code for the method of the SDK client, the programming code comprising programming code corresponding to the entry point. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
a memory; and a processing device operatively coupled to the memory to; identify a uniform resource identifier (URI) that corresponds to a resource of a RESTful (Representational State Transfer) web service provided by a server, the URI comprising a plurality of elements; identify relationships between the plurality of elements of the URI; determine an entry point of the RESTful web service from the relationships between the plurality of elements, the entry point being a root resource class into the RESTFUL web service; determine a name of the entry point in the URI from the relationships of the plurality of elements in the URI; create programming code for a method of a software development kit (SDK) client by creating programming code for an entry point class using the name of the entry point in the URI; and replicate the relationships between the plurality of elements of the URI in the programming code for the method of the SDK client, the programming code comprising programming code corresponding to the entry point. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification