Under program errors log I see some errors like:
There was an error reflecting type ‘SixBit.Business.Declarations.Amazon.Envelope’. [System.InvalidOperationException]There was an error reflecting property ‘Messages’. [System.InvalidOperationException]There was an error reflecting type ‘SixBit.Business.Declarations.Amazon.Message’. [System.InvalidOperationException]There was an error reflecting property ‘Item’. [System.InvalidOperationException]There was an error reflecting type ‘SixBit.Business.Declarations.Amazon.Price’. [System.InvalidOperationException]There was an error reflecting property ‘StandardPrice’. [System.InvalidOperationException]There was an error reflecting type ‘SixBit.Business.Declarations.Amazon.StandardPrice’. [System.InvalidOperationException]There was an error reflecting property ‘Currency’. [System.InvalidOperationException]There was an error reflecting type ‘SixBit.Business.Declarations.Amazon.BaseCurrencyCode’. [System.InvalidOperationException]Types ‘SixBit.Business.Declarations.Amazon.BaseCurrencyCode’ and ‘SixBit.Business.Entities.Amazon.GenProduct.BaseCurrencyCode’ both use the XML type name, ‘BaseCurrencyCode’, from namespace ”. Use XML attributes to specify a unique XML name and/or namespace for the type. [System.InvalidOperationException]
Stack Trace
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportElement(TypeModel model, XmlRootAttribute root, String defaultNamespace, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, XmlAttributeOverrides overrides, Type[] extraTypes, XmlRootAttribute root, String defaultNamespace, String location, Evidence evidence)
at SixBit.Library.SharedFunctions.GetSerializer[T](String rootName)
at SixBit.Business.Entities.Amazon.Feeds.SubmitFeedForOrders(List`1 Orders, MessageType Type)
End Stack Trace