xmlserializer
WCF XmlSerializerFormat and OperationContract: nested soap parameters serialization
After reading the post XmlSerializer with specified pattern not working I try to implement such a service : OperationContract with the XmlSerializerFormat. But my Soap message contains an additional t[详细]
2023-04-10 05:10 分类:问答XmlSerializer and different field in class and xml attribute
I have xml with several items, for example: <TestObject> <TestElement1/> <TestElement2/>[详细]
2023-04-09 09:56 分类:问答Trouble using XmlSerializer on a class: Object type not primitive
I\'m getting this error when trying to serialize a class: \"There was an error generating the XML document. The type of the argument objectis not primitive.\"[详细]
2023-04-08 21:41 分类:问答How to programatically generate a serialization assembly or cs file like XmlSerializer would when using XmlAttributeOverrides?
I wan开发者_如何学运维t to generate a serialization assembly or .cs file to serialize my types using XmlAttributeOverrides, and then reference this assembly/.cs file in my project directly rather than[详细]
2023-04-03 15:11 分类:问答System.InvalidOperationException : XmlSerializer attribute System.Xml.Serialization.XmlChoiceIdentifierAttribute is not valid in Item
I have been trying to connect to some web services using WCF but I keep getting an error when I try to call the function I need.[详细]
2023-04-02 19:29 分类:问答XmlSerializer define default value
We have an xml document with some user settings. We just added a new setting (which is not found in legacy xml documents) and the XmlSerializer automatically sets it to false.[详细]
2023-04-01 22:44 分类:问答XML, what is this: null or empty element?
Regarding to my other question: XML deserialize null elements? I\'ve got elements like these from a third-party server for API testing:[详细]
2023-03-31 10:19 分类:问答xmlserializer deserialize list containing attributes
I have xml that part of structure looks like this: <IDList> <ValuesList ID=\"1\"> <Value>1</Value>[详细]
2023-03-30 21:56 分类:问答How to customise the XML output of a Jersey JAXB serialisation
I have some @javax.xml.bind.annotation.Xml... annotated classes here intended for a RESt web service. Jersey is setup in a spring managed web container and the web service is returning a well formatte[详细]
2023-03-27 19:17 分类:问答How to cause XmlSerializer to generate attributes instead of elements by default
Is there a way to cause XmlSerializer to serialize primitive class members (e.g. string properties) as XML attributes, not as XML elements, without having to write [XmlAttribute] in front of each prop[详细]
2023-03-26 05:00 分类:问答