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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.04.2011, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
axaptapedia: Aif BizTalk
Источник: http://www.axaptapedia.com/Aif_BizTalk
==============

Summary: initial version

== Introduction ==
When performing updates with '''BizTalk''' and the '''AIF''' framework, an empty XML message without any "message parts" is returned when an update was successful.
Because the return message does not contain any "message parts" or elements, BizTalk throws an exception.

== Error messages ==
When using a '''XMLReceive pipeline''' in BizTalk you might get a message in the Event Viewer similar to the following:

A response message sent to adapter "Microsoft Dynamics AX 2009" on Receive Location: "Sync.Dynamics AX 2009" with URI:"ax5://localhost:2712" is suspended.
Error details: There was a failure executing the response(receive) pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Send Port: "Sync.Dynamics AX 2009" URI: "ax5://localhost:2712" Reason: '''The body part is NULL'''.


When using a '''PassThrough pipeline''' in BizTalk you might get a message in the Event Viewer similar to the following:

xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'Company.Vendors.Orchestrations.Update_VendTable(2dac4b28-09c9-7366-b634-eca462cdda6f)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 8011d079-57af-4a60-85f1-05bb068f4212
Shape name:
ShapeId:
Exception thrown from: segment -1, progress -1
Inner exception: Received unexpected message type ''''DynamicsAx5.VoidMessage' does not match expected type 'Company.Vendors.Orchestrations.VendTableService_update_Response''''.

Exception type: UnexpectedMessageTypeException
Source: Microsoft.XLANGs.Engine

== Work around ==
To work around this, the '''serialize''' method of the '''AifMessageParts''' class can be modified to return a simple XML message. Add the following before the "xmlTextWriter.writeEndElement();" statement in the '''serialize''' method of the '''AifMessageParts''' class:


if (partCount == 0)
{
xmlTextWriter.writeRaw('\n\nZERO\n\n');
}



Источник: http://www.axaptapedia.com/Aif_BizTalk
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
AIF BizTalk adapter white paper updated for sales order scenarios Blog bot DAX Blogs 0 15.04.2009 23:05
Microsoft Dynamics AX 2009 White Paper: Application Integration Framework (AIF) BizTalk Adapter Configuration for Data Exchange, Part II - English Vadik DAX: База знаний и проекты 0 14.04.2009 09:36
AX UK: AIF BizTalk Adapter Configuration White Paper Blog bot DAX Blogs 0 27.01.2009 10:05
Сергей Герасимов: Замечание по установке AIF BizTalk адаптера (по статье № 935242 Базы знаний) Blog bot DAX Blogs 0 30.05.2007 09:30
casperkamal: Document on Configuring BizTalk with AIF in Dynamics Ax Blog bot DAX Blogs 0 25.04.2007 22:23

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 17:43.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.