xmlが到着するのを待つWebサービスがあります。今日、XMLが大きすぎるように見えることがあることに気づきました。<httpRuntime maxRequestLength="10096"
useFullyQualifiedRedirectUrl="true"
executionTimeout="120"/>
ここで、app.configに追加したいと思いました。残念ながら、効果がないようです...これが私のapp.configです。
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<httpRuntime maxRequestLength="10096"
useFullyQualifiedRedirectUrl="true"
executionTimeout="120"/>
</system.web>
<system.serviceModel>
<client />
<standardEndpoints />
<services>
<service behaviorConfiguration="metadataSupport" name="iib.wohnpreis.wohnpreisserver">
<host>
<baseAddresses>
<add baseAddress="URLToWebservice" />
</baseAddresses>
</host>
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="basicHttpBinding" transferMode="Buffered" useDefaultWebProxy="false">
<readerQuotas maxStringContentLength="2147483647" />
</binding>
</basicHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="metadataSupport">
<serviceMetadata httpGetEnabled="true" httpGetUrl="wohnpreis/mex" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
何が悪かったのか提案はありますか?私を助けてくれてありがとう!
ステフィ