xml-serialization
Could not get minOccurs="1" maxOccurs="1" for a string type in a DataContract
Below is a DataContract in my WCF service and its respective xsd schema shown in the wsdl file. [Serializable][详细]
2023-04-08 05:11 分类:问答XmlSerializer with Specified pattern not working
We\'re trying to consume a web service (Soap) and have generated an adapter for the schema using SvcUtil.exe.We have a field[详细]
2023-04-07 23:10 分类:问答C# - XML - Treat inner xml from a certain element as string
I have the following XML: <Plan> <Error>0</Error> <Description>1</Description>[详细]
2023-04-07 19:33 分类:问答JBoss RESTeasy JAX-RS JAXB schema validation with Decorator
I am trying to validate all incoming XML files that come over my (contract first) REST interface in an application running inside JBoss AS 7. I have written a @Decorator for Pretty-Printing (as by the[详细]
2023-04-07 18:28 分类:问答How to instruct XmlSerializer to serialize a DateTime instance using a particular date time pattern?
I have many types, which are (de)serialized using the XmlSerializer. My problem is that I want the ti开发者_如何学Cmestamps (DateTime instances) appearing in these types to be serialized to the respec[详细]
2023-04-07 13:37 分类:问答How do I get rid of the xmlns declarations inserted by the XmlSerializer?
I have this type: [Serializable, DataContract] public class A { [DataMember(Order = 1)] public int P1 { get; set; }[详细]
2023-04-07 10:26 分类:问答Deserialize unknown section into List or Dictionary
I have the following XML file: <Error>0</Error> <Description>1</Description> <Document>[详细]
2023-04-07 07:15 分类:问答adding xmlns:rim attribute to serialized class
I would like to add a namespace and prefix attribute to my serialzed class so my child elements can reference by using the prefix.[详细]
2023-04-07 00:58 分类:问答Intercept the 'Expression' property of IQueryable Provider and gets its e-sql
Normally I can query an entity context using linq in the typical way, IQueryable<Product> query = from p in db.Products[详细]
2023-04-07 00:57 分类:问答Silverlight+ WCF Ria Service + FK object member is marked with XmlIgnore, can I prevent this from being added to the generated file?
Using silverlight 4, with RIA Services Toolkit May 2010. I have an Entity Data Model (.edmx) which contains a FK reference.[详细]
2023-04-06 17:48 分类:问答