none
XmlSerializer attribute System.Xml.Serialization.XmlAttributeAttribute is not valid in RRS feed

  • Question

  • I am getting the following error in a .Net 4.6.2 client app:

    Unable to save the event: XmlSerializer attribute System.Xml.Serialization.XmlAttributeAttribute is not valid in parentOid. Only XmlElement, XmlArray, XmlArrayItem, XmlAnyAttribute and XmlAnyElement attributes are supported when IsWrapped is true.

    This is an application that has been around for a long time, and the WebService method has not changed in a very long time. What has changed is a new method was added to the web service recently and earlier this year the application up was upgraded from .Net 3.5 to 4.6.2 and moved from VS2010 to VS2015.

    The .Net Client app has always consumed the WebService by "Add Service Reference" and it has never had problems before. Has something changed between .Net 3.5 & 4.6.2 or between VS2010 and VS2015?

    For what it is worth, the WebService itself is implmented in a old, dead framework of Axis2/C and runs under an Apache Web Server that is all developed in VS2008.

    Sunday, August 25, 2019 11:52 PM