Web Service Paginated Data Sets

My webservice (created using yii webservices) located in host_A produce a JSON ARRAY as a result after host_B queries for that. This JSON ARRAY represent the whole data set filtered, but it could be so big to sent it over the network as a whole and huge json array containing 16.000 entries on it…

So, i need to paginate the result on the host_A, then host_B queries and presents a standard CPagination to iterate over it.

I think, some like this: CWsDataProvider, it would paginate the remote result that CWsdlGenerator invokes on the remote method.

Yes. I think currently web service in Yii can not support complex application.

More powerful CGridView that support SOAP as dataprovider is needed.