Cannot debug call to web service

lvanvugt
Member Posts: 774
We want to debug an external web service call as the NAV process, that as called via a NAV web service, does not work right. What ever we do, we cannot get the debugger activated. We see data changing in the database, but the debugger is never triggered.
If we trigger the process manually, by either running the codeunit or using the UI, the debugger is triggered. And even if we trigger trigger the web service using SOAP UI, the debugger is also triggered.
BTW: the Event Log is properly logging errors.
We seem to run out of options, but maybe any of you has some useful hint(s). Thanx in advance.
If we trigger the process manually, by either running the codeunit or using the UI, the debugger is triggered. And even if we trigger trigger the web service using SOAP UI, the debugger is also triggered.
BTW: the Event Log is properly logging errors.
We seem to run out of options, but maybe any of you has some useful hint(s). Thanx in advance.
0
Answers
-
I have previous testet NAV webservice throw Webservicestudio, in NAV I added a break point, and set debugger to Debug Next. It trigger my break point at run time.
What version are you debugging?For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.1 -
Hi Sander, we have been debugging a lot in that way, but this one seems to "disobey" us ;-)
Version NAV 2018 (CU6).0 -
Do you have multiple service tiers attached to the database?
If so - then you might be debugging from the wrong service tier.1 -
frankmortensen wrote: »Do you have multiple service tiers attached to the database?frankmortensen wrote: »If so - then you might be debugging from the wrong service tier.0
-
OK, solved it. Trusting on my colleague which in hindsight I shouldn't have done. Apparently the two ways were calling two different functions. Breakpoints set on one were not hit by the other.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions