xml 肥皂行为Web.Config设置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml 肥皂行为Web.Config设置相关的知识,希望对你有一定的参考价值。
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="SoapBehavior">
<SoapBehavior></SoapBehavior>
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
</behavior>
</serviceBehaviors>
</behaviors>
<client>
<endpoint address="http://www.dneonline.com/calculator.asmx"
binding="basicHttpBinding" bindingConfiguration="CalculatorSoap"
contract="CalculatorServiceRef.CalculatorSoap" name="CalculatorSoap" behaviorConfiguration="SoapBehavior"/>
</client>
<extensions>
<behaviorExtensions>
<add name="SoapBehavior" type="SoapLogging.Common.SoapBehaviorExtensionElement, SoapLogging, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
</behaviorExtensions>
</extensions>
<bindings>
<basicHttpBinding>
<binding name="CalculatorSoap" />
</basicHttpBinding>
</bindings>
</system.serviceModel>
以上是关于xml 肥皂行为Web.Config设置的主要内容,如果未能解决你的问题,请参考以下文章
ASP.NET WebService 仅在使用 Http Get 但 web.config 设置正确时错误地返回 XML 而不是 JSON
在 Asp.Net Core App 中访问 Web.config 设置?
如何使用目标 c 从 xml 信封中提取 xml 肥皂体?
boost中的属性是如何解析的?肥皂xml解析?
如何使用 Alamofire.request() 将 XML 肥皂响应保存到文件?
在 web.config 或 app.config 中存储分层应用程序设置