SOAP API 在 WSO2 API 管理器 v3.0.0 中传递

SOAP API pass through in WSO2 API manager v3.0.0

我正在使用最新版本的 WSO2 API 管理器并尝试使用 SOAP API 后端作为传递。我无法调用 API,因为在最新版本中没有粘贴 soap 请求和 soap 操作的选项。文档指出它在那里,但是当我将它作为 docker 容器站立时,传递 soap 请求的能力不存在。任何人都可以确认它是否是一个错误以及我是否应该降级到以前的版本? https://apim.docs.wso2.com/en/latest/Learn/Tutorials/expose-a-soap-service-as-a-rest-api/

WSO2 documentation screenshot

WSO2 Dev portal SOAP API pass through invocation screenshot

您必须将 SOAP 操作和 SOAP 请求参数添加到 Swagger 定义中。

  1. 登录 API Publisher 并打开 api。

  2. 从左侧菜单转到 API 定义选项卡。

  3. 单击“编辑”按钮。

  4. 在swagger编辑器中,在POST方法参数下添加如下定义,并保存api.

      - schema:
        type: string
        description: SOAP request.
        name: SOAP Request
        required: true
        in: body
      - description: SOAPAction header for soap 1.1
        name: SOAPAction
        type: string
        required: false
        in: header

为此创建了一个问题,因为这需要在新版本中修复。 https://github.com/wso2/product-apim/issues/6813