简体   繁体   English

限制 Azure 逻辑应用程序自定义连接器 HTTP 接头

[英]Restrict Azure Logic App custom connector HTTP headers

I'm using a custom connector to connect to an on prem SOAP web service via a data gateway.我正在使用自定义连接器通过数据网关连接到本地 SOAP web 服务。 The request is failing due to the large number of x-ms-* HTTP headers being added by the custom connector.由于自定义连接器添加了大量 x-ms-* HTTP 标头,请求失败。 The target web service is hosted on Apache Tomcat and has a restriction on HTTP header total size (which I cannot control). 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?在逻辑应用程序或自定义连接器配置中是否有任何方法可以阻止添加这些 HTTP 标头?

Unfortunately, there is no way to control this from logic apps itself .不幸的是,没有办法从逻辑应用程序本身来控制它 Instead, you could front your SOAP service with a proxy that handles this for you.相反,您可以在您的 SOAP 服务前面使用为您处理此问题的代理。

In the cloud, you could use Azure APIM which can strip headers from being forwarded to your SOAP service .在云中,您可以使用 Azure APIM,它可以将标头从转发到您的 SOAP 服务中剥离

You can also deploy APIM in a VNET for it to access sources on-premises via a VPN Gateway or an Express Route connection.您还可以在 VNET 中部署 APIM,以便它通过 VPN 网关或 Express Route 连接访问本地源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM