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 ?
Hi Frank,
You can have a good knowledge about two endpoints,SOAP endpoint and JSON endpoint by check the examples in the following link:
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.
Try this way
/soap/services/<service_group>?wsdl
replace <service_group> with assigned service group
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156