Показать сообщение отдельно
Старый 06.12.2010, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 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, напишите личное сообщение администратору.