Click to See Complete Forum and Search --> : XML sending problem using HTTP POST


GRANCOCLARK
10-27-2004, 10:00 AM
I am trying to send an XML file using the HTTP protocol with a POST. In C# code, I am using the WebClient object (although I suspect the same problem would exist in VB).
I am using the .UploadFile(string URL, "POST", string filename) method.
I keep getting a HTTP error 500 "Internal Server Error". Additional text is "INBOUND XML IS NULL, NO TRANSACTION". This is a fairly straightforward operation. The file itself is being found, but for some reason not sent, as it seems the server on the other side is recognizing the message but not getting the file itself.
Anyway....has anybody had any experience using this or doing this and encountered the same problem, know of a good way of troubleshooting, or know what is going on? Thanks much!!