passing json /xml data successfully