cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bruleto
Frequent Visitor

Custom Connector with XML Post

I am trying to integrate PowerApps with another system via a Custom Connector. The system only allows POST in XML, not JSON. I've been struggling to get this to work in PowerApps. My tests via Postman work without issue as do the test from the PowerApp Custom Connector screen. 

 

Does PowerApps actually allow you to send XML POST or only JSON using a Custom Connector?

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @bruleto ,

Do you want to send XML POST through the Custom Connector, and return a proper XML Response?

 

Regarding the needs that you mentioned, I afraid that there is no way to achieve your needs in Power Apps currently.

 

Currently, for Power Apps and Power Automate, you must support stable HTTP REST APIs for your service. For RESTFul API, it usually use JSON as Transfer format and Response Format.

 

Within Power Apps custom connector, it only supports JSON schema as Request Body or Response Body for operations. If you would like this feature to be added in Power Apps, please submit an idea to Power Apps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

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

View solution in original post

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @bruleto ,

Do you want to send XML POST through the Custom Connector, and return a proper XML Response?

 

Regarding the needs that you mentioned, I afraid that there is no way to achieve your needs in Power Apps currently.

 

Currently, for Power Apps and Power Automate, you must support stable HTTP REST APIs for your service. For RESTFul API, it usually use JSON as Transfer format and Response Format.

 

Within Power Apps custom connector, it only supports JSON schema as Request Body or Response Body for operations. If you would like this feature to be added in Power Apps, please submit an idea to Power Apps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

Regards,

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

View solution in original post

@v-xida-msft Thank you for the reply. I had a feeling that it would not be possible at this time. I very much appreciate the response.

HEATFreight
Advocate IV
Advocate IV

@bruleto @v-xida-msft I am having the same problem, which I discuss at length here and here.

How can I at least get the custom connector to always default to its own body parameters? This seems to only work directly within the custom connector "Test operation" feature and nowhere else.

It makes no sense. This shouldn't have to be a feature request, it's literally a bug or just something they forgot to do. It's like the devs got halfway done with building the custom connector feature, and then they just stopped and forgot to finish all the rest! Like what is the point of a custom API connector if it won't faithfully pass in data to the API? This is ridiculous.

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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,931)