xcaliber2222
Programmer
Hello,
I am testing a ASP.NET 2.0 webservice and I can't figure out why when I hit the url and use the test harness it tests fine, but passing the xml to it causes an error. Here is the xml error:
System.InvalidOperationException: There is an error in XML document (16, 34). ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt) at System.UInt16.Parse(String s, NumberStyles style, NumberFormatInfo info) at System.Xml.Serialization.XmlSerializationReader.ToChar(String value) at...
So, I guess my question is, why when I test the operation using the HTTP POST protocol and click the 'Invoke' button it is successful and when I pass the values directly to the url it is complaining.
Any help would be greatly appreciated.
Thanks,
Alejandro
I am testing a ASP.NET 2.0 webservice and I can't figure out why when I hit the url and use the test harness it tests fine, but passing the xml to it causes an error. Here is the xml error:
System.InvalidOperationException: There is an error in XML document (16, 34). ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt) at System.UInt16.Parse(String s, NumberStyles style, NumberFormatInfo info) at System.Xml.Serialization.XmlSerializationReader.ToChar(String value) at...
So, I guess my question is, why when I test the operation using the HTTP POST protocol and click the 'Invoke' button it is successful and when I pass the values directly to the url it is complaining.
Any help would be greatly appreciated.
Thanks,
Alejandro