Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

How to develop a soap web service in AX2012

Posted on by 148

Hi,

I need some guidance or any tutorial on how to develop a soap web service in AX2012 (X++) in which I will be receiving a text in XML format, then deserialize it, and then, insert it in AX in the parts of Contracts. Also, send back an "OK" with the id of the data I just inserted or the message of the error in case there was any error while inserting the data. Please, any tutorial would be helpful.

Thank you in advance.

  • Daniel Mora Profile Picture
    Daniel Mora 148 on at
    RE: How to develop a soap web service in AX2012

    Hi Arunraj,

    Thank you for answering. I checked the pdf provided and it seems to me that I will be using a custom service but that pdf doesn't provide any help code-wise, can you explain it how to do it step by step on how to have a service that will receive an XML string and deserialize it to insert the info somewhere in AX.

  • Martin Dráb Profile Picture
    Martin Dráb 225,588 Super User on at
    RE: How to develop a soap web service in AX2012

    A custom service sounds like the right service type for your requirement.

  • Suggested answer
    Arunraj Rajasekar Profile Picture
    Arunraj Rajasekar 1,729 on at
    RE: How to develop a soap web service in AX2012

    Hi Daniel,

    Please see the white paper documentation at the link below.

    https://www.microsoft.com/en-us/download/details.aspx?id=24742

    Also move the question to AX forum
    https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans