now sends xml to server