Azure Logic App custom connector HTTP headers

Paul 1 Reputation point
2020-06-26T09:25:45.74+00:00

Hi - I'm using a custom connector to connect to an on prem SOAP web service via a data gateway. The request is failing due to the large number of x-ms-* HTTP headers being added by the custom connector. The target web service is hosted on Apache Tomcat and has a restriction on HTTP header total size (which I cannot control). Is there any way in either logic app or custom connector configuration to stop these HTTP headers being added?

Thanks
Paul

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,218 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,636 Reputation points Microsoft Employee
    2020-06-30T03:55:11.71+00:00

    Unfortunately, there isn't a way to control this from logic apps itself. Instead, you would want to front your SOAP service with a proxy that handles this for you.

    In the cloud, you could use Azure APIM which can strip headers from being forwarded to your SOAP service. You can also deploy APIM in a VNET for it to access sources on-premises via a VPN Gateway or an Express Route connection.

    But with the data gateway, you could leverage something like nginx. This answer mentions how you can remove client headers.

    Also, you can leverage the self-hosted APIM gateway with the data gateway but this is available only in the premium and developer tiers of APIM.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.