silverlight 调用 WCF集成的COM+组件接口时 提示:“无法模拟用户” 请问怎么解决?
服务端配置文件代码:<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation debug="true" />
</system.web>
<!-- 部署服务库项目时,必须将配置文件的内容添加到
主机的 app.config 文件中。System.Configuration 不支持库的配置文件。-->
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="comNonTransactionalBinding">
<reliableSession enabled="true" />
<security mode="None"/>
</binding>
<binding name="comTransactionalBinding" transactionFlow="true">
<reliableSession enabled="true" />
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<comContracts>
<comContract contract="{CA2AC0A4-0A4C-3BDE-A767-E518388312D7}"
name="IMYCOMPLUS" namespace="http://tempuri.org/CA2AC0A4-0A4C-3BDE-A767-E518388312D7"
requiresSession="true">
<exposedMethods>
<add exposedMethod="SayHello" />
</exposedMethods>
</comContract>
</comContracts>
<services>
<service behaviorConfiguration="Wcf.Service1Behavior" name="Wcf.Service1">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
contract="Wcf.IService1">
<identity>
<userPrincipalName value="wylkey" />
<servicePrincipalName value="wylkey" />
<dns value="localhost" />
<certificateReference findValue="wylkey" isChainIncluded="true" />
</identity>
</endpoint>
<host>
<baseAddresses>
<add baseAddress="http://localhost:8731/Design_Time_Addresses/Wcf/Service1/" />
</baseAddresses>
</host>
</service>
<service behaviorConfiguration="ComServiceMexBehavior" name="{68ABED8C-DFC9-46DA-9072-2E4DA5C5CEF8},{0F9BC53E-D3C2-3C6F-B144-0959CAEA06C0}">
<endpoint address="IMYCOMPLUS" binding="wsHttpBinding" bindingConfiguration="comNonTransactionalBinding"
contract="{CA2AC0A4-0A4C-3BDE-A767-E518388312D7}" />
<endpoint address="mex" binding="mexHttpBinding" bindingConfiguration=""
contract="IMetadataExchange" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="Wcf.Service1Behavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<behavior name="ComServiceMexBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration> --------------------编程问答-------------------- 我就这点分了,请各位DX帮帮忙吧 --------------------编程问答--------------------
补充:.NET技术 , Web Services