Announcements
No record found.
Hello,
Is there any way to create web service automatically through API in c#?
I don't want to use business central module to add new web service using frontend?
I don't believe there is an API available yet for that purpose, you might expose the web service page 810 itself as SOAP service and use that for creating additional services.
Hello Suresh,
Thank you for your reply and it is helpful also.
I have added page 810 and able to retrive all web services though api call, but not able to create other sevice.
I am not exactlly getting how I can use that url for creating additional services.
If you want to automatically publish a web service during an extension installation, the recommended approach is to use the XML definition like describe in this my old post:
https://demiliani.com/2018/09/05/dynamics-365-business-central-publishing-a-web-service-from-extensions/
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,216 Super User 2026 Season 1
YUN ZHU 1,471 Super User 2026 Season 1
AndrewThomas81 1,369