IBM Support

API Creation Fails with “Only .xsd and .wsdl files are allowed in the zip.”

Troubleshooting


Problem

When attempting to create an API using the API Connect Toolkit with the apic draft-apis:create command, the process fails with the following error:
 
Error: The multipart 'wsdl' field contains a WSDL definition with validation errors.
- subinapi-api_2.0.0-test.yaml: Only .xsd and .wsdl files are allowed in the zip. Remove the file subinapi-api_2.0.0-test.yaml.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8mKe000000CaZXIA0","label":"API Connect-\u003EAPIC Platform - Other"}],"ARM Case Number":"TS018543343","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.5;and future releases"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
10 March 2025

UID

ibm17185194