mibuso.com

Microsoft Business Solutions online community
It is currently Tue Oct 21, 2014 8:25 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [Solved] Web Services - Client callback Error
PostPosted: Fri Aug 10, 2012 2:35 pm 
Offline

Joined: Tue Mar 27, 2012 6:17 am
Posts: 34
Location: Chennai
Country: India (in)
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.

_________________
Thanks & Regards,
Muthu


Top
 Profile E-mail  
 
 Post subject: Re: Web Services - Client callback Error
PostPosted: Fri Aug 10, 2012 7:10 pm 
Offline
MVP Microsoft Dynamics NAV

Joined: Wed Dec 15, 2004 6:11 pm
Posts: 9058
Location: 3rd rock from sun
Country: United States (us)
Try it in 2013 and turn on the debugger and debug the webservice.

_________________
Rashed.

blog: http://mibuso.com/blogs/ara3n/


Top
 Profile  
 
 Post subject: Re: Web Services - Client callback Error
PostPosted: Sat Aug 11, 2012 7:08 pm 
Offline

Joined: Fri Sep 22, 2006 10:16 am
Posts: 51
Location: INDIA
Country: India (in)
When you create customer through .net write code in .net for generating customer no. than assign the same in navison through webservice.


Top
 Profile  
 
 Post subject: Re: Web Services - Client callback Error
PostPosted: Mon Aug 13, 2012 6:14 am 
Offline

Joined: Tue Mar 27, 2012 6:17 am
Posts: 34
Location: Chennai
Country: India (in)
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,
Muthu


Top
 Profile E-mail  
 
 Post subject: Re: Web Services - Client callback Error
PostPosted: Tue Aug 14, 2012 5:46 pm 
Offline

Joined: Thu Dec 21, 2006 5:13 pm
Posts: 8
Location: Vilnius
Country: Lithuania (lt)
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:
Code: Select all
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;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: tarkmyler and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: