Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

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

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.

  • 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
    Gunjan Bhattachayya 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.

  • 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
    Martin Dráb 230,198 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.

  • 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

  • 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
    Martin Dráb 230,198 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
    Gunjan Bhattachayya 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.

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

    same Error.!

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 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

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans