Azure / api-management-developer-portal

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

WSDL import modifies first letter of a parameter to lower case #2428

Closed mclausferranti closed 6 months ago

mclausferranti commented 7 months ago

Bug description

In the WSDL there are parameters that start with an uppercase. But after importing the WSDL the first letter of the parameter is modified to a lower case.

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. Select 'GetBillingBlock' in defintions.
  11. In the schema you see: image

In the WSDL it's 'EAN'.

image

Expected behavior

Keep the WSDL as-is and don't modify the first letter of a parameter to lower case.

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

The WSDL is auto-generated by a Dynamics 365 Finance environment. We're using azure API management to document the API. We're exporting the documented APIs via yaml files. We're sending the yaml files to one of our customers. The tool that our customer is using, is case sensitive. And now there is a mismatch between the WSDL and the documented API.

jsorohova commented 6 months ago

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