xml-serialization
DataContractSerializer forward compatibility problem
I\'m using the DataContractSerializer for storing an object of my own class to save user settings. The UserSettings class uses some other objects of different data types. I add all of those types to t[详细]
2023-03-29 14:26 分类:问答Getting XML Node position - XPath?
I have given XML document and some node in it. This node is wrapped by my class and this mentioned class should b开发者_Python百科e serialized and then deserialized (in some workflow). My problem reve[详细]
2023-03-28 21:15 分类:问答XML serialization - include one XML file in another?
Question: suppose you have a XML <rootelement> <transaction> <code>not found</code>[详细]
2023-03-28 12:29 分类:问答Sending object to WCF service. MaxStringContentLength (8192 bytes) exceeded when deserializing
I created a simple WCF web service that has one method: SubmitTicket(flightticket ft, string username, string password)[详细]
2023-03-28 06:30 分类:问答Class is serialized to XML without a class name
I try to serialize a class, defined as following: [DataContract] public class Human { public Human() { } public Human(int id, string Name, bool isEducated)[详细]
2023-03-28 03:54 分类:问答AXiS2 - Problem in returning the String value. < and > are getting converted to < and >
I have written a simple web service which takes string as an argument and returns a String as output.[详细]
2023-03-27 18:16 分类:问答Skipping an Element when serializing a "MessageBodyMember" property
Whenever object of a class marked with MessageContract attribute is serialized, I see that it开发者_如何学Go looks for [MessageBodyMember] members and serializes them under seperate XML elements in th[详细]
2023-03-27 05:28 分类:问答Selecting xml raw text
Given xml like this: <container> <item> <xmlText> <someTag开发者_如何学C> <otherTag>[详细]
2023-03-27 04:27 分类:问答Problem with deserialization of String sent over wire with XStream
I am trying to create a simple webservice which takes a String as input and returns string as output.[详细]
2023-03-27 00:25 分类:问答How to remove a child node from an XML file in C++ using Xerces-C?
root = doc->getDocumentElement(); child=root->getLastChild(); DOMNode* removedElement = root->removeChild(child);[详细]
2023-03-26 15:45 分类:问答