added support for xml services