The xml constructing seems to be working but when sending the soap, the server responds with internal error from client.