[英]Extending timeout and message size in WCF service generated by Biztalk 2006 R2
我正在使用Biztalk生成WCF服務。 我得到的代碼是這樣的:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehaviorConfiguration">
<serviceDebug httpHelpPageEnabled="true" httpsHelpPageEnabled="false" includeExceptionDetailInFaults="false" />
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" externalMetadataLocation="" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<!-- Note: the service name must match the configuration name for the service implementation. -->
<service name="Microsoft.BizTalk.Adapter.Wcf.Runtime.BizTalkServiceInstance" behaviorConfiguration="ServiceBehaviorConfiguration">
<endpoint name="HttpMexEndpoint" address="mex" binding="mexHttpBinding" bindingConfiguration="" contract="IMetadataExchange" />
<!--<endpoint name="HttpsMexEndpoint" address="mex" binding="mexHttpsBinding" bindingConfiguration="" contract="IMetadataExchange" />-->
</service>
</services>
</system.serviceModel>
也許它不是最漂亮的配置,但它可以工作。 問題是我不知道如何修改超時和消息最大大小,因為它只有mex端點。 我很驚訝僅使用mex端點如何工作。
所以有兩個問題:
我似乎還記得那些設置不在配置文件中的原因,是因為綁定配置存儲在biztalk本身的接收位置/發送端口設置中。 因此,設置它們的方法是從接收位置適配器配置中更改它們。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.