访问 Azure APIM 中公开的 SOAP API 的 wsdl

问题描述 投票:0回答:1

我对在 AZURE APIM 中公开的 SOAP API 有疑问。

我在 Azure APIM 中公开 SOAP API:https://www.w3schools.com/xml/tempconvert.asmx,在 Azure APIM 中可以通过 URL https://minhas-apis.azure 访问它-api.net/ tempconvert/soap,但是从它暴露的那一刻起,我就无法再通过 ?wsdl 访问他们的合约。我想知道是否有可能访问通过“?wsdl”公开的这个 SOAP API 的所有合约,我已经查看了几个地方,但没有找到任何相关信息。

azure azure-api-management
1个回答
0
投票

我在APIM中按照以下方式添加了

https://www.w3schools.com/xml/tempconvert.asmx?WSDL
,也能得到结果。

enter image description here

enter image description here

将后端 URL 从

http://www.w3schools.com/xml/tempconvert.asmx
更新为
https://www.w3schools.com/xml/tempconvert.asmx

enter image description here

enter image description here

测试结果-

传递请求体中的值。

enter image description here

enter image description here

尝试按照我的方式配置API,你也会得到结果。

© www.soinside.com 2019 - 2024. All rights reserved.