Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

SOAP web services error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

Im new to nav please help me with this error. 

I create a new page in microsoft dynamicx development environment. for membership card but after I expose and use as SOAP in show me this error. Im using PHP to consume this SOAP.

Microsoft Dynamics NAV Business Web Services attempted to issue a client callback to run page 99009001 Member Club List as modal. Client callbacks are not supported on Microsoft Dynamics NAV Business Web Services.

 

Please help me how resolve this issue thank you.

 

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SOAP web services error

    Hi Tharanga,

    Thanks for the info.

  • Verified answer
    TharangaC Profile Picture
    TharangaC 23,116 on at
    RE: SOAP web services error

    These are the triggers and within the trigger scope you can write codes. If you want to add GUIALLOWED then you need to analyze what are the code segments that will pop up or request a user input, and only for those section you need to add the GUIALLOWED.

    If you put your entire code within the GUIALLOWED section then your code will not get executed at the web service level.

    Ex: In this example if you call this section through a web service, then code line a and b will get execute. In the if condition it will check if the GUI is allowed, since you are calling it via a web service it will return false, which will skip the message box and directly execute code line c, d, and e.

    If you call this within NAV then all the lines get executed.

    code line a
    code line b
    IF GUIALLOWED THEN BEGIN
       MESSAGE(Text000);
    END;
    code line c;
    code line d;
    code line e;
    
  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SOAP web services error

    Hi Jonathan,

    I open the Page and this is the code that i need to add GUIALLOWED. Please help how to insert code for GUIALLOWED

    Club Code - OnValidate()

    Club Code - OnLookup(VAR Text : Text) : Boolean

    Club Code - OnDrillDown()

    Club Code - OnAssistEdit()

    Club Code - OnControlAddIn(Index : Integer;Data : Text)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SOAP web services error

    Hi Jonathan Archer,

    Ok thanks i will try this out. Thanks for helping. I have developer license. I ask for my NAV Partner. Thanks

  • Verified answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: SOAP web services error

    in the development environment nav objects can be changed/edited. for that you need a developer license, not included in nav installation. if you do not have one, please contact your nav partner. for usage of GUIALLOWED please follow the links i added. in your case it's needed to change that page, you have published as nav web service.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: SOAP web services error

    Hi  Jonathan Archer,

    Thanks for the information. by the way I'm new to NAV,  I would like to ask how to supress UI by using GUIALLOWED. where should I begin to edit this code? is it from microsoft nav development environment (PAGE)?

    Thank you  

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: SOAP web services error

    that means a function call ends in an message, error message or confirm. nav messages can not be shown when calling the page via webservice. so remove all commands error, message and confirm in the page. also ensure that no error messages are thrown.

    you can also use command GUIALLOWED:

    msdn.microsoft.com/.../dd339064.aspx

    also follow

    msdn.microsoft.com/.../dd301080(v=nav.90).aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans