解决方法:在WCF服务接口修改服务协定如
原来:
[ServiceContract]
public interface IMyService
修改成
[ServiceContract, XmlSerializerFormat(Style = OperationFormatStyle.Document)]
public interface IMyService
解决方法:在WCF服务接口修改服务协定如
原来:
[ServiceContract]
public interface IMyService
修改成
[ServiceContract, XmlSerializerFormat(Style = OperationFormatStyle.Document)]
public interface IMyService