Thanks Guys! On Fri, Dec 11, 2009 at 9:40 PM, Balaji Sankar Chopparapu < balaji.choppar...@gmail.com> wrote:
> Hi Arik, > > I believe pagination is responsibility of the application but not with the > soap/rest tool kits like CXF. I feel following entities needs to be > supported by your service to have pagination. > For Example: > > GetEmployees > startindex- > numberofEntites- (i.e) pagesize > Sortfield > SortDirection- Aesc,Desc ..etc > Thanks > Balaji > > > > > > > On Sat, Dec 12, 2009 at 3:23 AM, Daniel Kulp <dk...@apache.org> wrote: > >> >> Normally for something like this, you would just have a method like >> getEntities(startIndex, numberOfEntities) as part of your service. The >> client would just use that. >> >> Dan >> >> >> On Tue December 8 2009 8:13:15 pm Arik Gorelik wrote: >> > Hello, >> > >> > Does CXF have any mechanism to support pagination in the SOAP request / >> > response, mostly for the client side? >> > >> > For example, I have a method to return me all Entities from my datastore >> > - getEntities(startIndex, numberOfEntities) and if I want to return only >> > 100 entities starting from item 50, it would getEntities(50, 100). >> > >> > I wonder if CXF has anything to support this in any way or something >> close >> > to it. The alternative would be to cache the sorted results and just >> return >> > subsets of the entire data. >> > >> > Arik. >> > >> >> -- >> Daniel Kulp >> dk...@apache.org >> http://www.dankulp.com/blog >> > >