我正在开发Web Service WCF应用程序。此服务将您的名称作为参数并返回文本。所以想法是用Bizagi来测试这项服务。 Bizagi使用basicHttpsBinding为端点成功实现了helloService,但是当我将绑定协议更改为wsHttpBinding时,它会给出以下错误;
我在IIS 7上配置了HTTPS。上述服务部署在IIS 7上。
System.ServiceModel终点定义
<!--*************** SYSTEM SERVICES MODEL AND CONFIGURATION ****************-->
<system.serviceModel>
<!--*** Services ***-->
<services>
<service name="App.Services.Managers.HelloWorldManager" behaviorConfiguration="EBSMiddlewareBehaviorDefault">
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="TransportSecurity" contract="App.Services.Contracts.IHelloWorldService"/>
<endpoint address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" />
</service>
</services>
<!--*** Bindings ***-->
<bindings>
<wsHttpBinding>
<binding name="TransportSecurity">
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
<!--*** Behaviour ***-->
<behaviors>
<serviceBehaviors>
<behavior name="EBSMiddlewareBehaviorDefault">
<serviceMetadata httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<!--*** Service Hosting Environment***-->
<serviceHostingEnvironment>
<serviceActivations>
<add service="App.Services.Managers.HelloWorldManager" relativeAddress="EBSMiddlewareServices.svc"/>
</serviceActivations>
</serviceHostingEnvironment>
<!--*********** Service Perfromance Counter **************-->
<diagnostics performanceCounters="All"/>
</system.serviceModel>
<!--END SYSTEM SERVICES MODEL-->