WS Management Interface WSDL contains dead links

Document ID : KB000094248
Last Modified Date : 03/05/2018
Show Technical Document Details
Question:
The API Gateway provides a WS management interface (/wsman) for managing the Gateway via SOAP requests. I want to test/use this interface via SOAP UI. Therefore, I've published the wsman as internal service and copied the wsdl. However, it contains broken links to files located somewhere. eg.

<xs:import namespace="http://ns.l7tech.com/2010/04/gateway-management" schemaLocation="gateway-management.xsd"/> 
<import location="http://schemas.xmlsoap.org/ws/2004/09/transfer/transfer.wsdl" namespace="http://schemas.xmlsoap.org/ws/2004/09/transfer"/>

How can I get a complete wsdl defining the wsman interface?
Answer:
When you try to get the WSDL through a request to the Gateway (i.e http://<GW Host name>:8080/wsman?wsdl), it will evaluate the incoming request and replace all the broken links with correct URLs like below. 

<xs:import namespace="http://ns.l7tech.com/2010/04/gateway-management" schemaLocation="http://<GW Host>:8080/ssg/wsdl/gateway-management.xsd"/>
<import location="http://<GW Host>:8080/ssg/wsdl/transfer.wsdl" namespace="http://schemas.xmlsoap.org/ws/2004/09/transfer"/>