I have noticed something strange with the following cluster wide property setting service.wsdlQueryEnabled.
When service.wsdlQueryEnabled=true, i am not able to download wsdl and i am getting a 404 not found.
When service.wsdlQueryEnabled=false, i am able to retrieve wsdl document.
But as per the description i see in the documents, it should be working the other way? Gateway v8.1
Controls whether the download of WSDL using the "?wsdl" URL suffix is permitted. When enabled, the WSDL document can be downloaded using the resolution path of the service. Value is a Boolean.
For details, see WSDL URL by Resolution URI.