web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

How to call/link ax service class in web api ?

(0) ShareShare
ReportReport
Posted on by 1,883

Dears,

Please provide me relevant example or code to call ax service classes in web api to perform crud operations.

Thank you.

I have the same question (0)
  • Martin Dráb Profile Picture
    237,679 Most Valuable Professional on at
    RE: How to call/link ax service class in web api ?

    Can you please explain what you're trying to achieve and what problems you have with it? We can't give you "relevant" examples if you don't tell us what is relevant for your situation.

    What exactly is do you mean by "web api"? Are you talling about ASP.NET Web API or do you just mean web services in general? Why do you want to call AX services from another API instead of just calling them directly? It's unclear unless you explain what you're doing.

    Are you aware of AIF document services in AX 2012? Do you realize that you can call them via SOAP web services, which support CRUD operations? Is it relevant for you or not?

  • Faqruddin Profile Picture
    1,883 on at
    RE: How to call/link ax service class in web api ?

    Hello Marti,

    Thanks for your reply. Actually I'm trying to develop cross-platform apps. Now my requirement is to develop ASP.Net web api that interact with ax 2012 web service classes . Yes I aware soap services and its crud operations. But I don't how to call them directly in other platforms. Thats the reason, I'm trying to create Asp.net web api as middle platform and I want to interact with ax web service classes. So basically all want an example how to interact web services ax 2012 classes with ASP.NET web api ?

  • Verified answer
    ergun sahin Profile Picture
    8,826 Moderator on at
    RE: How to call/link ax service class in web api ?

    docs.microsoft.com/.../cc652581(v=ax.50)

  • Verified answer
    Martin Dráb Profile Picture
    237,679 Most Valuable Professional on at
    RE: How to call/link ax service class in web api ?

    In my opinion, you don't need examples of doing it through Web API. Just look at examples of how to consume SOAP services in VS/C#. What kind of application you write in C# (whether it's a console app, Web API or something else) isn't that important.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans