摘要: Csla.DataPortalClient.WcfProxy.cs文件中./// <summary> /// Returns an instance of the channel factory /// used by GetProxy() to create the WCF proxy /// object. /// </summary> protected virtual ChannelFactory<IWcfPortal> GetChannelFactory() { // if dataportal url is specified use this 阅读全文
posted @ 2012-03-05 11:32 wccc 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 响应消息的内容类型 text/html 与绑定(application/soap+xml; charset=utf-8)的内容类型不匹配。如果使用自定义编码器,请确保正确实现 IsContentTypeSupported 方法。出现上述错误与配置文件中<appSetting>节中【CslaDataPortalUrl】的配置有关,目前的解决办法是将域名换成IP地址即可运行.用相应的域名有时也能通过./************************客户端配置**********************************************/<?xml version= 阅读全文
posted @ 2012-03-05 11:19 wccc 阅读(3709) 评论(0) 推荐(0) 编辑