none
how to set value for WSS -Time to Live in wcf services which is calling anoother SOAP service? RRS feed

  • Question

  • how to set value for WSS -Time to Live in wcf services which is calling anoother SOAP service?
    Friday, May 29, 2020 9:16 PM

All replies

  • can you give me more detials?I don't quite understand your mean. 
    Monday, June 1, 2020 9:28 AM
  • You can set the value of the inactivitytimeout property in WCF.If more than the InactivityTimeout specified time interval passes with no activity, the session is aborted by the infrastructure and the channel faults.

    You can configure it in the configuration file:

    	<bindings>
    			<wsHttpBinding>
    				<binding name="Binding">
    					<reliableSession inactivityTimeout="00:10:00"/>
    				</binding>
    			</wsHttpBinding>
    		</bindings>
    I set the timeout to 10 minutes. If the client-side does not send any messages to the server-side within 10 minutes, the connection will be interrupted.

    Wednesday, June 3, 2020 9:50 AM