Azure / api-management-developer-portal

Developer portal provided by the Azure API Management service.
MIT License
478 stars 306 forks source link

Request and response sample shouldn't include operations name #2430

Closed mclausferranti closed 3 months ago

mclausferranti commented 3 months ago

Bug description

After importing a WSDL, a request and response sample is added. The operations name is included in the samples. But when you execute the API, it doesn't expect the operations name.

Reproduction steps

  1. Go to APIs.
  2. Click on +Add API.
  3. Click on WSDL.
  4. Select the attached file. (wsdl.txt)
  5. Select McsBillingServices - BasicHttpBinding - BillingBlockService as interface.
  6. Select SOAP to Rest as import method.
  7. Click on the button create.
  8. Select the imported API.
  9. Select 'GetBillingBlock' in all operations.
  10. Open form-based editor.
  11. Select sample. The operations name is included in the sample:image
  12. Select responses. The operations name & result is included in the sample: image

Expected behavior

The operations name and result shouldn't be included in the sample.

Is your portal managed or self-hosted?

Managed

Release tag or commit SHA (if using self-hosted version)

API Management service name

McsTestApiManagement

Environment

Additional context

When you execute the API, for example in postman, the operations name isn't expected in the request: image

And there is also no operations name and result in the response.

jsorohova commented 3 months ago

Hello @mclausferranti, this is an issue in Azure portal and not the Developer portal. Please, contact Azure support for assistance.