rest activity for xml