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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to Consume SOAP services in D365 FandO

(0) ShareShare
ReportReport
Posted on by 30

Hi Community,

I am trying to create and consumed a simple soap based webservice which i got from some source for practicing purpose.

The steps i followed to create a service is.

1.First i created a class

2.I have created a service 

3.Then a service group.

And i had set all the properties and code in the class accordingly

In the class ,there is a getCustomerNames() through which i can get the names of the customer.

What my doubt is that ,Now i want to consume the soap service and print the names of the customers in the console window.

Can anyone tell me the step by step process to consume the service?

Thanks in advance

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi Uday Pasupala,

    You could consume web service using POSTMAN, before that you have to register the Azure Application , get the Azure Authentication Token and verify the Authorization token:

    Request URL: usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/[ServiceGroupName]/[ServiceName]/[MethodName]

    Refer to:

    d365technext.blogspot.com/.../dynamics-365-finance-operation-webapi.html

    You can also get WSDL reference for soap version:

    usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/IntegrationGroup?wsdl

  • Verified answer
    WillWU Profile Picture
    22,361 on at

    Moved to D365FO forum.

  • Verified answer
    Martin Dráb Profile Picture
    237,882 Most Valuable Professional on at

    Create a console application in Visual Studio.

    Add a service reference or a connected service to your project (depending on Visual Studio version). For example, look at How to: Add, update, or remove a WCF data service reference.

    Adding a reference generates proxy classes, which you can use to call the service.

    You can also look at the sample application on GitHub.

  • Uday4e9 Profile Picture
    30 on at

    Thanks for your response Martin,

    I had done what you have said previously ,but i did not get the correct idea.So please check the query below.

    I have already done with adding the  service reference , i had used C# project to consume the service what i have created in ax.

    I want to know the clear steps what should be done after adding the service reference ,if possible provide with a

    example code.

  • Martin Dráb Profile Picture
    237,882 Most Valuable Professional on at

    Please open the sample application (the last link in my previous reply) and look at code there.

  • WillWU Profile Picture
    22,361 on at

    Hi Uday,

    Please check the link provided by Martin.

    Before you call the Webservice you have to finish the authentification in AAD.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans