Web Services - Client callback Error

gandhi_nkl
Member Posts: 44
Hi,
I have published Contact Page in NAV and I am trying to create Contact using .net with help .net guys. It works fine.
But my problem is that, same like contact I am publishing customer page and trying to create customer from .net but getting following error.
Exception:
SoapException was unhandled by th euser code:
Client callback (such as showing Pages) is not supported when executing custom Web services. ENU=No. Series
Tried solution myself: searched dialog and strmenu function using code coverage while creating customer from NAV and added GUIALLOWED.
But still not solved.
Anyone help me out from this.
I have published Contact Page in NAV and I am trying to create Contact using .net with help .net guys. It works fine.
But my problem is that, same like contact I am publishing customer page and trying to create customer from .net but getting following error.
Exception:
SoapException was unhandled by th euser code:
Client callback (such as showing Pages) is not supported when executing custom Web services. ENU=No. Series
Tried solution myself: searched dialog and strmenu function using code coverage while creating customer from NAV and added GUIALLOWED.
But still not solved.
Anyone help me out from this.
Thanks & Regards,
Muthu
Muthu
0
Answers
-
Try it in 2013 and turn on the debugger and debug the webservice.0
-
When you create customer through .net write code in .net for generating customer no. than assign the same in navison through webservice.0
-
arindom wrote:When you create customer through .net write code in .net for generating customer no. than assign the same in navison through webservice.
But, How contact web services working?Thanks & Regards,
Muthu0 -
Hi,
I received the same error, and it turns out, that the problem was that NAV tried showing request form, when executing WS;
I assume you might have some similar problem..
My code in WebService Codeunit was:CalcProfitability() : Text[30] ProfitabilityReport.SetRepParams(TRUE,FALSE,FALSE,FALSE,TRUE); ProfitabilityReport.RUN; EXIT('success');
This is just a test code of course;
And adding the line 'CurrReport.USEREQUESTFORM(GUIALLOWED);' to OnInit of the report solved the problem;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