The image shows how to Implement IPaginable and add XmlRootElement annotation on Response Object.