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

SOAP web service

(0) ShareShare
ReportReport
Posted on by 354

Hello D365 community,

I have a problem with my web service in "SOAP mode" and would appreciate your help.

I created a web service that works as expected when returning json. The client would like to see xml instead and my understanding is that I would need to change the url to do that. Replacing url/api/services/serviceGroup/service/operation with url/soap/services/service/operation should do the trick. However, I can't seem to find my service this way (404). Any suggestions ?

(https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/custom-services)

Could that be an issue with the soap envelope ?

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="">schemas.xmlsoap.org/.../">
  <soap:Body>
      <DataAreaId>USA1</DataAreaId>
     </getOrder>
  </soap:Body>
</soap:Envelope>
Thanks
Frank
  • Suggested answer
    nunomaia Profile Picture
    27 Moderator on at

    Try this way

    /soap/services/<service_group>?wsdl

    replace <service_group> with assigned service group

  • Frank Bruemmer Profile Picture
    354 on at

    Thank you, but this gives me a HTTP 500 error.

    This one I can get to work:

    xxx-dev1b94dbee805c5780bdevaos.axcloud.dynamics.com/.../UserSessionService

    But neither of those:

    xxx-dev1b94dbee805c5780bdevaos.axcloud.dynamics.com/.../xxxOrderService

    or

    xxx-dev1b94dbee805c5780bdevaos.axcloud.dynamics.com/.../xxxServiceGroup

    The 'auto deploy' property of the service group is set to yes although I read somewhere that the deployment happens automatically.

  • Suggested answer
    huijij Profile Picture
    19,813 on at

    Hi Frank,

    You can have a good knowledge about two endpoints,SOAP endpoint and JSON endpoint by check the examples in the following link:

    docs.microsoft.com/.../custom-services

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
Martin Dráb Profile Picture

Martin Dráb 510 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 302 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 197

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans