Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Web Service calls with POSTMAN /AX 2012 R3

(0) ShareShare
ReportReport
Posted on by 25

Hello DAX people,

I am testing HCMServices with POSTMAN, I get a response with GET request, but when I change it to POST, even with or without header and body, I am getting a 404 not found error.

1205.post.png

Am I missing something? 

I want to insert in ax from POSTMAN. I appreciate any suggestions :) 

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Hi Nesrine,

    Please check the AIF exceptions as well in case any exceptions were recorded.

    Also, did you try this calling service from a simple C# application to make sure it works?

  • Nesrine Profile Picture
    25 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Hi Gunjan,

    Thank you for your help. This is the soap body:

        
    [string?] [string?] [string?] [string?] [string?] [string] [string]
    [string?] [string?] [string?] [string?] [[object Element]?] [string] [[object Element]?] [[object Element]?] [date] [string?] [[object Element]?] [string?] [[object Element]?] [[object Element]?]

    Also, this is a screenshot of the Data policies:

    fields.png

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Hi Nesrine,

    I am trying this on my Dev environment. Could you please send me a screenshot of the soap request you are sending over in the "Body" segment?

    Also, do you have all the fields enabled in the "Data policies" in the inbound port?

  • Nesrine Profile Picture
    25 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Hi DAX  people,

    I am still facing the same problem, any idea or suggestion that could help? 

  • Nesrine Profile Picture
    25 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Gunjan,

    7331.port.png

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Nesrine,

    Could you please share a screenshot of the inbound port and the operations available for the service? I just want to make sure create/update operations are available for the service.

  • Nesrine Profile Picture
    25 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    This is my screenshot with a successful GET request :

    get.png

    this is a screenshot  with a failed POST request:

    6835.post.png

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Hi Nesrine,

    Did you add "?wsdl" at the end of your request and try? In your initial screenshot, that is missing.

  • Nesrine Profile Picture
    25 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    yes I did the exact steps int the link

  • Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Web Service calls with POSTMAN /AX 2012 R3

    Hi Nesrine,

    Did you leave the authorization to "NoAuth"?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,342 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,027 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans