Error when attempting to send Data over HTTPS

Hello all I am getting the following error when trying to send data over HTTPS to a client.

310 - Invalid XML /XML non valide