Web Service De- Serialize errors
.NET (Core and Framework)
1
Posts
1
Posters
0
Views
1
Watching
-
I get the following error When i access a function on a web service: System.InvalidOperationException: There is an error in XML document (1, 681). ---> System.InvalidCastException: Cannot assign object of type System.Xml.XmlNode[] to an object of type System.String. It looks like it is when the response is being deserialized. What i dont get is that .net generates the code to do this from the WSDL file. So is this a bug in .net or a problem with the WSDL file (niether of which i can do much about). Also how am i going to fix it. If anyone has any ideas i can post the wsdl and the full error. Jonathan