0
我正在使用带有RIA域服务的silverlight应用程序。 在该域服务中,我公开了一个SOAP端点,以便可以通过SOAP调用域服务方法。我在web.config文件中做了如下所示的内容。从wcf方法返回null异常
<system.serviceModel>
<domainServices>
<endpoints>
<add name="soap" type="Microsoft.ServiceModel.DomainService.Hosting.SoapEndpointFactory, Microsoft.ServiceModel.DomainService.Hosting" />
</endpoints>
</domainServices>
<system.serviceModel>
一切正常。当我从本地ASP.net服务器上的Visual Studio启动我的服务时,我可以得到适当的异常返回给我的客户端。但是当我使用相同的web.config文件在IIS中托管此域服务时,我收到了空异常。 有什么想法?