将我的wcf添加到网站后,数据合同被替换为操作合同。如何回到代码2
CODE1
[OperationContract(Action = "http://tempuri.org/IDocument/GetFile", ReplyAction = "http://tempuri.org/IDocument/GetFileResponse")]
[XmlSerializerFormat(SupportFaults = true)]
GetFileResponse GetFile(GetFileRequest request);
码2
[OperationContract(Action = "http://tempuri.org/IDocument/GetFile", ReplyAction = "http://tempuri.org/IDocument/GetFileResponse")]
AppFile GetFile(AppFile objFile);