Hi, I am able to finally receive an xml post into my asp.net 1.1 c# application. An external server (another language) posts the XML it using an HTTP post. The directions also say that they use form encoding. Anyway, I am having lots of trouble decoding the xml that i am receiving.
I have tried
Encoding unicode = Encoding.UTF8;
Byte[] unicodeBytes = unicode.GetBytes(param);
string content1 = unicode.GetString(unicodeBytes);
char[] asciiChars = new char[unicode.GetCharCount(unicodeBytes, 0, unicodeBytes.Length)];
unicode.GetChars(unicodeBytes, 0, unicodeBytes.Length, asciiChars, 0);
string content = new string(asciiChars);
Can anybody tell me a better way? What is form encoding?
thanks alot.
I have tried
Encoding unicode = Encoding.UTF8;
Byte[] unicodeBytes = unicode.GetBytes(param);
string content1 = unicode.GetString(unicodeBytes);
char[] asciiChars = new char[unicode.GetCharCount(unicodeBytes, 0, unicodeBytes.Length)];
unicode.GetChars(unicodeBytes, 0, unicodeBytes.Length, asciiChars, 0);
string content = new string(asciiChars);
Can anybody tell me a better way? What is form encoding?
thanks alot.