Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

(0) ShareShare
ReportReport
Posted on by 25

 Iam trying to create a document service for using AIF wizard and ihave some points:

1- Tools > Wizards > AIF Document Service Wizard Tools > Application Integration Framework > Create Document Service.  the menu doesn't show after search and follow some links like :

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/205072/aif-tools-not-visible-even-after-aif-web-services-installation-in-ax-2009/533596

https://dynamicsuser.net/ax/f/developers/62315/how-to-enable-aif-document-service-wizard-in-ax2009

and still, doesn't show.so that open it from AOT.

2-after open the menue from AOT and using AxdSalesOrder query. When I click generate and open the service in Services section it give me error.

When I checked in AIFService table i found this error: 

"Unable to create class AxdSalesOrder ".

tryed to open error message. It opened the class with methods. Then find the method giving the error. The error says cannot be able to create a new object of new document service in runtime.

Thanks.

  • AbdelrhmanHiba2020 Profile Picture
    25 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    Hi, All

    You are right I have not found X++ source license  in AX 2009 Unlike AX2012 it found.

    thanks.

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    Hi,

    If you don't have an X++ source license, you can't create any object in AX. AIF license will not take care of this.

  • AbdelrhmanHiba2020 Profile Picture
    25 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    you all right, I do not have an X++ source license, But do you mean it cannot work and if true? what is the solution to create an AIF service in Ax 2009؟

    Note:

    I have an Application Integration Framework license 

  • Verified answer
    Martin Dráb Profile Picture
    232,994 Most Valuable Professional on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    You must have X++ source code license to modify classes and do many other development-related things.

    Go to Administration > Setup > System > License Information and check which license you have in your environment.

  • AbdelrhmanHiba2020 Profile Picture
    25 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    I don't understand that "X ++ source code license"

    I thought I didn't understand you on this point

  • AbdelrhmanHiba2020 Profile Picture
    25 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    I followed this link exactly:

    ellipsesolutions.com/.../

    and break on step No5. 

  • Martin Dráb Profile Picture
    232,994 Most Valuable Professional on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    Although you've linked a thread where I asked about X++ Source Code license, you didn't answer it. So let me ask again: do you have X++ Source Code license?

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    What is the name of the new query? Also, please share a few screenshots of the names you are passing for the creation of the new AIF service.

  • AbdelrhmanHiba2020 Profile Picture
    25 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    same Error.!

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Error in generating AIF web service using AIF wizard having AxdSalesOrder query AX 2009.

    Can you duplicate the query instead and try creating the new service? This will be better as there will be no conflicts while creating new objects for the AIF service.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans