Gets the contents of the XML service type file.
The buffer returned in
contents should not be modified or freed, and is guaranteed to be valid as long as
this is referenced. If some error occurs,
contents is set to null
location to receive the pointer to the file contents.
location to receive the length of the file, in bytes.