Changed defaultreturn type to XML