We have an existing server that responds to HTTP AJAX POSTS. Works fine using XMLHTTP from within Javascript. We have moved that code to run in a .Net CF 2 environment. Unfortunately, the code will not communicate properly.
The class is attached, the server details will be given out to the successful bidder.
The class first attempts to pass in a username and password. It is supposed to receive back some XML containing a unique user id (UUID). It doesn't get past this step. The code fails with a caught WebException in the getServerUuid() method. The details of the exception are:
{"Unable to read data from the transport connection."} [login to view URL]
One solution discussed on the web has to do with the size of the posted data, but in this case it is minimal so that is not relevant.
I have updated the attached file to include:
an example c# program that would implement the class.
an example of the original javascript
Neither of these bits of code are functional they are just to give an idea of how the program communicates.