I am using the latest version of WSO2 API manager and am trying to consume a SOAP API backend as pass-through. I am not able to invoke the API because in the latest version there is no option to paste the soap request and soap action. The documentation states that it is there but when I stood it up as a docker container, the ability to pass in the soap request is not there. Can anyone confirm if it is a bug and whether I should downgrade to the previous version? https://apim.docs.wso2.com/en/latest/Learn/Tutorials/expose-a-soap-service-as-a-rest-api/
1 Answers
1
votes
You have to add the SOAP Action and SOAP Request parameters to the Swagger definition.
Login to API Publisher and open the api.
Goto API Definition tab from the left menu.
Click on Edit button.
In the swagger editor, add the following definition under the POST method parameters and save the 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
Created an issue for this, since this needs to be fixed in the new version. https://github.com/wso2/product-apim/issues/6813