using inputstream for getMapping, won't create a xml on hd