To use XML Services, you must enable it using this sp_configure command:
sp_configure "enable xml", 1