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

Notifications

Announcements

Community site session details

Community site session details

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard