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 :
Microsoft Dynamics AX (Archived)

Make webservice using JSON in AX 2012

(0) ShareShare
ReportReport
Posted on by 60

Hello everyone, i'd like to know if is there a way to "publish(?)" a webservice, i've seen other forums where somebody use ASP with C# or VB to do it.
The point here is, that i want to make an URL to give it to a customer, the customer will send information through this web service and i will to process it in Dynamics AX... this using REST (JSON), now already got information from an external URL, but now i want to make my own URL from AX ... is that posible? :) thankyou

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Douglas Noel Profile Picture
    3,905 on at
    RE: Make webservice using JSON in AX 2012

    Hi,

    maybe this is useful for implementation of your described requirements

    github.com/.../wiki

    This could help you with the additional intermediate wrapper service

    Ax2012

    Regards

    Douglas

  • Martin Dráb Profile Picture
    235,934 Most Valuable Professional on at
    RE: Make webservice using JSON in AX 2012

    I'm seriously trying to help you. I told you what AX supports, how you can implement your requirement and what are implementation details that you shouldn't worry about too much. I'm sorry you don't see this helpful and you feel offended by it.

    If my advice didn't help you, maybe try to explain what else you need.

  • cyberzamora Profile Picture
    60 on at
    RE: Make webservice using JSON in AX 2012

    I could see that, each forum somebody post in this page, u try to answer with null points, if i wrote this post, it's because i'd want to find a solution, u answer more problems in each forum, we are users trying to learn... if u already are an expert, please... PLEASE, help... just... HELP :) that what you said above, is not helpfull, you tried to offend me, and that's not cool ... thanks...

  • Martin Dráb Profile Picture
    235,934 Most Valuable Professional on at
    RE: Make webservice using JSON in AX 2012

    I hope that nobody write web service message by hand, so what's the point whether my object-oriented API generates a JSON message, an ATOM message, a SOAP message, a binary stream or anything else? The communication is done by computers, not people, and it's usually hidden behind high-level programming interfaces.

    But as I said, if you think it's cost-effective, you can use a middle-tier service exposing a REST API and using JSON.

  • cyberzamora Profile Picture
    60 on at
    RE: Make webservice using JSON in AX 2012

    Because of customer convenience, they are using JSON to get communication. That's why i'd like to use it. I just made this post to find possibilities. I'm not insisting, but thank you. Chavooo!

  • Martin Dráb Profile Picture
    235,934 Most Valuable Professional on at
    RE: Make webservice using JSON in AX 2012

    First of all, why do you insist on this specific data format? If you want a RESTful API, it doesn't have to use JSON.

    For example, AX 2012 supports OData query service (which is RESTful, but it doesn't use JSON).

    If you're looking for a generic way how to deploy REST endpoints instead of SOAP endpoints, you can't do that. AX would have to support it. But you can create a middle-tier service (consuming AX SOAP interface and exposing its own REST interface), if you think it's worth doing.

    Your requirement to give user an URL can be done as well with SOAP.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Mea_ Profile Picture

Mea_ 4

#3
Rahul Shah Profile Picture

Rahul Shah 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans