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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to Call Soap Webse...
Power Apps
Answered

How to Call Soap Webservice from Model Driven PowerApp

(0) ShareShare
ReportReport
Posted on by 12

Hello Community

 

I need to call a SOAP webservice from Model driven app in a Synchronous way, what are my options ?
In one scenario, Model-driven app need to fetch data from this external SOAP webservice.

In another scenario, Model-driven app need to submit data to this external SOAP webservice.

 

Any ideas would be helpful.

Regards

San

I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @sartham,

    The recommendation is to use the JavaScript fetch operation. More info: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch  

    Hope this helps!

  • Prakash4691 Profile Picture
    1,332 on at

    @sartham ,

    You can try, plugin pre-operation - if there are any external dll's available or through http request.

    Also custom workflow, implement your custom workflow and call your custom workflow from OOB real time workflow.

     

    If it answers your question, kindly give kudo and accept it as solution.

     

    Regards,

    Prakash

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    @Prakash4691, what do you mean by custom workflow, classic workflows? Also, a Dataverse plugin will not work for external DLLs, and ILMerge is not supported.

     

    @sartham I assume you needed client-side logic, if you need server-side logic, then Azure aware plugins would be the best. Have a look at this article, guidance #2: https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Best-practices-when-customizing-Power-Platform-and-Dataverse/ba-p/1499115

    Hope this helps!

  • Prakash4691 Profile Picture
    1,332 on at

    @EricRegnier ,

    I mean like plugin we can develop custom workflow activity. Register through plugin and call custom workflow from OOB standard workflow.

     

    There are alternatives available, in case if external DLLs need to be used or else we can go with http request.

     

    Regards,

    Prakash

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Custom workflow activity and custom action are deprecated. Should be using Custom APIs. But to keep the solution simple, this is not required for @sartham's case since it's just the update message they're after.

  • Prakash4691 Profile Picture
    1,332 on at

    @EricRegnier ,

    Custom workflow is not deprecated. Also the scenarios are to post the data and retrieve from external service.

  • sartham Profile Picture
    12 on at

    Thank you @EricRegnier and @Prakash4691 for the ideas.
    I  prefer C# over JavaScript when possible, and i don't have external DLLs.
    So can i write a C# Plugin to call the external SOAP webservice ?

  • Verified answer
    Prakash4691 Profile Picture
    1,332 on at

    @sartham ,

    Yes you can.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @sartham, yes you can with the standard libraries from the .NET framework but note plugins will not work for external DLLs, and ILMerge is not supported. Also, plugins will timeout at 2 min. The MS best practice from FastTrack tram is if plugin will take more than 200ms to execute look at Azure aware plugins. Since you're relying on another system and it's not controllable, you may have those risks. Have a look at this article, guidance #2: https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Best-practices-when-customizing-Power-...

     

    Hope this helps!

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    @sartham almost forgot but if you need async/backgroud operation you can also use Power Automate flow, will avoid some custom code. Here a video to help with that: https://www.youtube.com/watch?v=h3BIF08Yp6g

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard