AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.04.2015, 23:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Requesting large packages across AX AIF can result in timeout errors after 30 seconds regardless of your timeout values
Источник: http://blogs.msdn.com/b/axsupport/ar...ut-values.aspx
==============

A common time out exception you may experience with NetTcp AIF calls in AX is:

The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '01:09:59.9770000'.

This error can be deceptive as it doesn’t relate to actual timeout values but instead to the size of the ObjectGraph coming across through WCF. The workaround for this issue is to either break up your packages by sending multiple smaller requests, recommended, or by increasing the size of the MaxItemsInObjectGraph behavior parameter. Below are steps for increasing the object graph size for an AIF Inbound port service.
  1. Open the AX client
  2. Open the System Administration > Setup > Services and Application Integration Framework > Inbound Ports window
  3. Deactivate your service
  4. Click on the Configure button next to your adapter
  5. Expand the Advanced folder
  6. Click on the Endpoint Behaviors folder



  7. In the window pane, click New Endpoint Behavior Configuration
  8. Select the new configuration you just created, and in the window pane, click Add... Select dataContractSerializer and then click Add



  9. Double-click the dataContractSerializer you just added, and change MaxItemsInObjectGraph to a larger number
  10. Back in the Configuration folder tree, and expand Client > Endpoints
  11. Select the DefaultServiceGroupEndPoint
  12. In the Client Endpoint form pane, set BehaviorConfiguration to the configuration you created in steps 7-9.



  13. Close out of the Configure Services window and save those changes
  14. Activate your service and test again




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

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
kamalblogs: AIF: Testing Document services surpassing the AIF setup – Dynamics AX 2012 Blog bot DAX Blogs 0 05.11.2013 21:11
emeadaxsupport: AX Content: Make Microsoft Dynamics AX 2012 yours! Blog bot DAX Blogs 0 01.10.2013 00:12
ax-erp: Debug BP errors in Dynamics AX 2012 Blog bot DAX Blogs 0 14.12.2012 23:11
emeadaxsupport: Dynamics AX 2012 cubes - Customer dimension does not show values for Address description, Zip postal code, country or region id Blog bot DAX Blogs 0 27.04.2012 16:11
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 17:37.