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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Consume Soap Created in Business central

(0) ShareShare
ReportReport
Posted on by 131

Hello Community First of all thanks for taking the time to read my question.

My question consists of the following:

In business central create a codeunit with a procedure called FindPaciente And publish that codeunit as a web service and I get something like this:

2768.Captura1.PNG

And I use the second link, after putting my username and password it shows me the following..

The objective of this CodeUnit is to send a Patient ID to a table that is created and returns me if it exists or not in the table with a true or false

pastedimage1646014320991v1.png

How can I put it to the test? I've been trying with the SoapUi Software but I can't succeed


It would be very helpful if someone could share with me how to test this Link provided by Business Central in Javascript


Thank you again for your time and any input.
good day

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    96,039 Super User 2025 Season 2 on at

    Hi, Have you tried Postman? It can be easily converted into code in any language.

    https://www.postman.com/

    pastedimage1646096008392v1.png

    pastedimage1646096062063v2.png

    pastedimage1646096075302v3.png

    pastedimage1646096097690v4.png

    Other info:

    https://www.j3ns.de/d365-business-central/connect-to-business-central-rest-api/

    https://www.cdata.com/kb/tech/d365businesscentral-odata-nodejs.rst

    Hope this helps.

    Thanks.

    ZHU

  • Yael Suarez Profile Picture
    131 on at

    Thank you very much for telling me the name of the Postman tool


    Finally, how can I do the GET query in Postman to consume a specific procedure of my CodeUnit which looks as follows

    pastedimage1646111421184v1.png

    I need to send a product number to the codeunit and it should return a true or false depending on whether the number exists

    In PostMan, how do I modify the URL so that the procedure is executed and returns a True or False value?

    It currently looks like this in PostMan

    pastedimage1646111917293v2.png

    Thank you again for taking the time to answer my question and for your knowledge.

    Good day

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

News and Announcements

Season of Giving Solutions is Here!

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,651

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 808 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 718 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans