阅读背景:

WCF REST服务是否支持使用任意元素顺序对XML消息进行反序列化?

来源:互联网 

I have a C# WCF REST Service which allows the addition of a bookmark, by sending an HTTP POST request with the bookmark serialised in XML. I have specified the operation contract for the service, which picks up the xml and automatically deserialises the object for me. My problem is that the deserialisation only works correctly if the XML elements in the request are given in alphabetical order, and the values for any elements that are out of order are not populated.I have a C# WCF REST Service which allows the a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: