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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.12.2010, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: How to trace AIF Web service SOAP message
Источник: http://blogs.msdn.com/b/emeadaxsuppo...p-message.aspx
==============

For troubleshooting reasons sometimes is needed what exactly SOAP message is sent to AIF service. So we get a lot of questions how can we track such a message. The problem is not directly connected to Dynamics AX because using following method you can track every service included AIF Web service.

The easy way to get SOAP message can be:

1. Create C# client as described in: http://msdn.microsoft.com/en-us/library/cc652581.aspx

2. Then add traces information to app.config created automatically for your application (as mentioned http://bloggingabout.net/blogs/chilb...ice-trace.aspx). So my app.config look following:


 
  
     
       
         
       
     
     
       
         
       
     
   
   
     
   
 
   
       
           
               
                   
                   
                   
                       
                           
                       
                       
                   
               
           
       
       
           
               
                   
               
           
       
     
     
       
     
   
 




3. Run C# program in C:\logs\ there will be file Log.svclog created

4. In C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin you can find SvcTraceViewer.exe you can just double click it to open then you can load the log created.

5. You will see all tracing information and also SOAP envelope

 

--author: Czesława Langowska --editor: Czesława Langowska --date: 06-12-2010




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axaptasource: Tip How to Trace a Call to an AIF Web Service Blog bot DAX Blogs 0 26.11.2010 20:11
daxdilip: Tip How to Trace a Call to an AIF Web Service Blog bot DAX Blogs 0 26.11.2010 00:12
emeadaxsupport: Creating an MSMQ message that can be consumed by AX AIF process Blog bot DAX Blogs 0 26.04.2010 19:05
emeadaxsupport: What changes are required if we change the Business Connector Proxy used by AX 2009 Generated AIF Web services Blog bot DAX Blogs 0 29.03.2010 15:05
Pokluda: Outbound web service (AIF) Blog bot DAX Blogs 0 28.10.2006 17:43
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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