Pages WebServices - Debugger

infonoteinfonote Member Posts: 233
edited 2012-02-24 in NAV Three Tier
Hi,

We are receiving data from another system into NAV using a page webservice.
Is there a way to debug, or log the data that is coming into NAV through the Web Service?

Thanks in advance.

Comments

  • kinekine Member Posts: 12,562
    1) You can use reverse proxy e.g. Fiddler debugger to catch the communication (you need to enable this functionality in Fiddler registry). It will listen on the port instead the NAVServer and forward the communication to the NAV Server real port.

    2) You can enable debugging on the NAV Server and debug the application through Visual Studio Debugger (even remotely if you use the remote debugging functionality). You can find more on the blogs about debugging NAV 2009 RTC/WebServices.

    3) Most detailed info (internal info from the NAV Server, not executed C/AL code) could be collected through WCF tracing functionality. How to enable tracing on the NAV Server could be found on the blogs. Result is tracing logs with detailed info about all connections etc. Use it only if you need to know why the service is not working when other ways failed and use it on separate service, or you will kill the service.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • chethanhtchethanht Member Posts: 14
    http://blogs.msdn.com/b/clausl/archive/ ... -2009.aspx gives you an idea on how to debug NAV 2009 pages.
Sign In or Register to comment.