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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

XML based D365 F&SCM(AX7) custom web API

(1) ShareShare
ReportReport
Posted on by 139
Hi,
 
A vendor has requested us to expose an XML based custom D365 F&SCM API.
 
As far as I know, the D365 F&SCM custom web API works with JSON request/response. Is there a way to natively implement this.
 
I've thought of a workaround where I will create a HTTP trigger logic app which will take XML request. Then I'll convert this XML request to JSON and pass it to D365 custom web API. I would like to know if there is a better way to achieve this?
 
Note, the vendor is not able to send us request in any other format so we are bound to work with XML request/response.
I have the same question (0)
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Abishek,
     
    What do you mean by custom api? Do you mean custom services? If yes then you can access it as SOAP or json where in soap u can pass xml
     
    Check this link
     
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Hi, you can develop custom services for finance and operations. When a developer writes a custom service under a service group, the service group is always deployed on two endpoints:
    • SOAP endpoint
    • JSON endpoint
    Please refer to the MS document about custom service:
  • abhishek.srivastava.129 Profile Picture
    139 on at
    Hi Layan, yes we need to create a custom service that the external vendor will use as an API call to communicate to D365 F&SCM. Let me refer the link shared by you. If the soap service can accept the XML request than my job would be done. I'll mark the reply as answer if this works. Thanks for your response!
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Abishek,

    Yes it should work, I'll be waiting for you come back to us with your findings :)

    Btw, you can download a tool called SOAP UI, it might make your testing for the custom service easier.

    Thanks,
    Layan Jweihan
  • Martin Dráb Profile Picture
    239,040 Most Valuable Professional on at
    SOAP is an XML format, therefore the SOAP endpoint can accept XML, but this XML must be in SOAP format. It can't be just any arbitrary XML.
     
    Note that you can use a middle-tier service to transform your XML to either JSON or SOAP.
  • abhishek.srivastava.129 Profile Picture
    139 on at
    Hi Layan, I did try out the soap and as mentioned by Martin already, I was not able to comsue the agreed upon schema as request. The XMl we have is not in SOAP format. 
     
    Hi Martin, I am planning to have an HTTP trigger based logic app which will accept XML as request. Then I'll convert it to JSON and call the D365 service. Please let me know if there is a better approach to achieve this.
  • Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi Abishek,
     
    If you can't make your xml in SOAP format directly. Then you'll need a middleware to convert it to json or soap. Logic apps can be an option

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans