The core problem of this challenge is the proper formulation (encoding) of the request and the correct interpretation (decoding) of the server-response.
Another problem is the sending and the receiving of the XML-files with a server-side scripting language such as PHP.