cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

PowerApps - HTTP - XML - PowerApps

Hello,

 

I'm having trouble determining how to hit an on-prem web service that only responds with XML.

Scenario:

  • On-prem Web Service, Serving XML
  • I can hit the URL in my browser, pass it a single value (ex: "1234") and get a response
  • Example URL:
    • http://mycompany.com/subpath/to/api/is/pretty/long/<SINGLE_VALUE>
  • Example Response:
    • <Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/proprietaryName.Models">
      <ALIAS>THIS_NAME</ALIAS>
      <ID>THIS_NUMBER</ID>
      </Model>

Since this is an on-prem endpoint WITHOUT authentication, JSON, request body, or a response body, I'm having trouble figuring out where to start. If it HAD these items, I'd start with a Custom Connector in PowerApps, then a Flow.

But that doesn't work here, no Custom Connector possible. So starting with Flow, I can't even get the HTTP Request setup! I'm only passing a SINGLE VALUE, there are not headers or body parameters to input. Can't figure out how to hit the On-Prem Data Gateway here either. 

flowIssue.png

Any ideas for me to get started?

Thank you

5 REPLIES 5
v-yamao-msft
Community Support
Community Support

Hi @ericonline,

 

It seems that you are trying to connect to custom on-premises APIs, please check the following doc for a reference:

Connect to custom on-premises APIs using data gateway

https://flow.microsoft.com/en-us/blog/on-premise-apis/

In addition, please check if the following blog would be helpful for you:

Define HTTP Authentication

https://flow.microsoft.com/en-us/blog/five-services-json-http/ 

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-yamao-msft and thank you for the resources. I was not able to find a solution in those blog posts. We already have a data gateway setup, I have it selected in the Custom Connector but don't see a way to call the Custom Connector in the HTTP call.

Any further ideas?

Did you ever find a solution?

Looking for an answer on this to please!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,659)