cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
POJA85
Helper I
Helper I

Receive XML through Web service

Hello, 

 

So I have to receive a XML payload and parse the data into CDS. 

The question is, how do I do this?

 

1. Should I use the trigger for HTTP call received and start with parsing it into json and then back to XML? And how do I do this,       because as it is right now I will get a "Body" that is one long String. 

2. Should I transform it back to XML with a XML schema and XML map and then parse it with xpath?

 

Or do you recommend another way?

1 REPLY 1
Brad_Groux
Community Champion
Community Champion

You'd basically want to do the reverse of the Use FetchXML to query data (Common Data Service). CDS works well with XML, so stick with XML.

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE. Want to know more? Follow @BradGroux on Twitter, and check out my Medium blog at https://msft.engineer.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,862)