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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.03.2013, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
DynamicsAxSCM: Import Vendor Catalogs – Part 3 (Troubleshooting)
Источник: http://blogs.msdn.com/b/dynamicsaxsc...eshooting.aspx
==============

It’s seems like it’s time for a new post in the series about importing vendor catalogs in Dynamics AX 2012. The previous couple of blog posts covered setup and importing a sample catalog. It’s all well and nice but what if something went wrong somewhere along the way of setting up the feature. Below you will find a list of problems that can arise during vendor catalog import setup. And of course the solutions to the problems will be described in detail.

Questions and Answers

I try to import a Vendor catalog with Dynamics AX. I generate the XSD File but it is really not clear how to populate it.

The XSD file that you can generate from the vendor catalog form provides you with the schema of the CMR file that can be imported. XSD (XML Schema Definition) is one of several XML schema languages. The blog post about importing a sample catalog contains a detailed list of steps that you need to take to generated a sample CMR file.

I’d like to see an example of a CMR file with data to import?

It is important to note that the XSD schema for CMR files depends on the procurement hierarchy that you set up in Dynamics AX so the chances of successfully importing sample CMR files are really-really low because the XSD schema produced from your system will most probably differ from the one that was used to generate the sample file. However it’s always nice to see a sample file just to have an idea of what kind of beast the CMR file is. Below is the XML that a sample file might contain:

</span span style="color: rgb(255, 0, 0);"version/spanspan style="color: rgb(0, 0, 255);"="1.0"/span span style="color: rgb(255, 0, 0);"encoding/spanspan style="color: rgb(0, 0, 255);"="utf-8"/span?span style="color: rgb(0, 0, 255);"> Description1 Name1 af Blue
I’m getting the error “Imported schema for namespace ‘http://www.w3.org/XML/1998/namespace’ was not resolved” when trying to generate in Visual Studio a sample CMR file based on the XSD schema.

This is a known issue. The workaround is to remove the line below from the XSD file:

 

When I run the AIF job for processing no error is given but the status of the import in the Catalog file history does not change

The error was most probably logged in the AIF exception log: System administration\Periodic\Application integrationServices and Application Integration Framework\Exceptions.

In the AIF exception log there is an error: Could not find schema information for the element 'http://dax.com/vendorcatalog:VendorCatalog'.

Make sure that you set up the inbound port in AIF as in Walkthrough: Configuring an inbound integration port for catalog import [AX 2012]. Pay special attention to the paragraph about setting up the pipeline component:

The catalog import service requires a special component that processes CMR documents. To enable this component, follow these steps.
  1. In the Inbound ports form, on the Processing options tab, select the Preprocess service operation requests check box, and then click Inbound pipelines.

  2. In the Inbound pipelines form, click Add. Then, in the Class name list, select CatVendorXmlTransform.

  3. In the Purpose field, enter an optional description, such as “Transform vendor XML files,” and then close the Inbound pipelines form.

  4. Click Activate to deploy the integration port.
 

Conclusion

I hope this information was useful. I would like to make this article into a live blog post. So if you have any problems with setting up vendor catalog import please write to me or post a comment and I will do my best to resolve your problem and post the resolution in this article.




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
DynamicsAxSCM: Import vendor catalogs: from setup to importing a sample catalog – Part 2 (Importing a sample catalog) Blog bot DAX Blogs 0 09.09.2012 20:15
DynamicsAxSCM: Import vendor catalogs: from setup to importing a sample catalog – Part 1 (Setup) Blog bot DAX Blogs 0 30.08.2012 02:14
Microsoft Dynamics CRM Team Blog: Troubleshooting Solution Import for your Upgraded Microsoft Dynamics CRM 2011 Organization Blog bot Dynamics CRM: Blogs 0 15.03.2011 01:11
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0: Understanding Connections Blog bot Dynamics CRM: Blogs 0 20.01.2009 02:07
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

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