Показать сообщение отдельно
Старый 11.02.2014, 22:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX Retail: Enabling reliable session support in POS – RealTimeServices in AX 2012 R2
Источник: http://blogs.msdn.com/b/axsupport/ar...x-2012-r2.aspx
==============

Description:

We have
received some feedback from customers that inconsistence occurs when the
network connect fails during a RealTimeService operation from the POS. To
ensure that POS calls to RealTimeService is working reliable, we can enable the
reliable session in the config files. After enabling this feature, the communication
will ensure consistency in the calls.



NB: Enabling this feature might slightly decrease the performance.



Solution:

When you want to edit the Web.Config or POS.Exe.Config file it is a very good practice to
use the SvcConfigEditor.exe, which comes with the Microsoft SDK. With this tool it is very easy to see the possible values in the
different options and it provides you a good overview what is running as a service and what is running on the client.









To get the reliable session to work we have to change certain values.
  1. The MaxBufferSize andMaxReceivedMessageSize needs to be the same value.
  • maxBufferSize="10485760"
  • maxReceivedMessageSize="10485760"
2. The values needs to be changed.
  • reliableSession ordered="true"
  • transactionFlow="true"
  • transferMode="Buffered"



Example files: Content might have to be adjusted.

POS.EXE.CONFIG file













































































































































































WEB.CONFIG FILE
















































































































































































































NB. The next release of AX (Dynamics AX 2012 R3)
has reliable session enabled by default.







Author: Kim Truelsen

Date: 11/2-2014




Источник: http://blogs.msdn.com/b/axsupport/ar...x-2012-r2.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.