解决方法:在WCF服务接口修改服务协定如

原来:

[ServiceContract]
public interface IMyService

修改成

 [ServiceContract, XmlSerializerFormat(Style = OperationFormatStyle.Document)]
public interface IMyService

posted on 2015-10-31 14:09  leojon  阅读(237)  评论(0编辑  收藏  举报