Troubleshooting
Problem
When uploading a WSDL .zip file to the API Manager to create the API, you are getting an error that says
The WSDL definition does not contain the service 'Service_Name' requested
by the wsdl_service query parameter.
Symptom
You see the following error:
The WSDL definition does not contain the service 'Service_Name' requested
by the wsdl_service query parameter.
Cause
It is likely that your WSDL definition file does not contain the service block.
It would look like so:
...
<wsdl:service name="HelloService">
<wsdl:port binding="intf:HelloSoapBinding" name="Hello">
<wsdlsoap:address location="http://127.0.0.1:2048/HelloSvc/HelloService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
If the service is described outside the main WSDL definition, this error can also appear.
The best practice is to keep the service in the main file definition.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeAKAA0","label":"API Connect-\u003EDeveloper (DV)-\u003EGatewayScript"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
20 February 2023
UID
ibm16854983