Visual StudioでWCFサービスを使用しています。生成されたWSDLには、私が望まない部分がありますが、どこから来たのか分かりません。私は削除する必要がどのようなWCFサービスで生成されたWSDL
-<wsdl:service name="AdfsService">
-<wsdl:port name="CustomBinding_IAdfsService" binding="tns:CustomBinding_IAdfsService">
<soap12:address location="https://localhost/AdCustomerService/AdfsService.svc"/>
-<wsa10:EndpointReference>
<wsa10:Address>https://localhost/AdCustomerService/AdfsService.svc</wsa10:Address>
</wsa10:EndpointReference>
</wsdl:port>
</wsdl:service>
は次のとおりです。ここで
-<wsa10:EndpointReference>
<wsa10:Address>https://localhost/AdCustomerService/AdfsService.svc</wsa10:Address>
</wsa10:EndpointReference>
は私のWebConfigです:
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
<customBinding>
<binding name="CustomTransportSecurity">
<transactionFlow />
<textMessageEncoding />
<httpsTransport />
</binding>
</customBinding>
</bindings>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https"/>
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="false"/>
<services>
<service name="webservices.portalx.AdfsService">
<endpoint address="" contract="webservices.portalx.IAdfsService"
bindingNamespace="webservices.portalx" binding="customBinding"
bindingConfiguration ="CustomTransportSecurity"/>
<endpoint address="mex" contract="IMetadataExchange" binding="mexHttpsBinding"/>
</service>
</services>
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true">
<remove name="ApplicationInsightsWebTracking"/>
<add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web"
preCondition="managedHandler"/>
</modules>
<directoryBrowse enabled="true"/>
<validation validateIntegratedModeConfiguration="false"/>
</system.webServer>
誰もが探しに方向に私を指すことができますか?私はそれをgoogleingしようとしたが、有用なリンクを見つけることはできない。私は非常に興味があったとして、私がテストしたものからためにカスタム構成である
投稿したソリューションを試しましたか? – Aria