摘要: 1、Create a error class just like this namespace TeamService.Projects { [DataContract] public class ProjectServiceError { private string operation; private string errorMessage; [DataMember] public String Operation { get { return operation; } set { operation = value; } } [DataMember] public String Err 阅读全文
posted @ 2011-08-05 15:49 quietwalk 阅读(276) 评论(0) 推荐(0) 编辑
摘要: Server: <?xml version="1.0"?> <configuration> <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="Behavior1"> <serviceMetadata httpGetEnabled="true"/> </behavior> </serviceBehaviors> </behaviors&g 阅读全文
posted @ 2011-08-05 15:23 quietwalk 阅读(301) 评论(0) 推荐(0) 编辑