removed send raw and preparing the xmlobject