Dears,
Please provide me relevant example or code to call ax service classes in web api to perform crud operations.
Thank you.
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?
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 ?
docs.microsoft.com/.../cc652581(v=ax.50)
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 765 Super User 2025 Season 2
CA Neeraj Kumar 743
Sumit Singh 551