Hide Forgot
Technical Debt: Clients should be able to retrieve the Aviary WSDL and imported schema definitions dynamically by using the advertised URL appended with ?wsdl like: http://localhost:9091/services/query?wsdl However, this doesn't currently work and results in a parse error from the Axis2/C engine. XML Parsing Error: no element found Location: http://localhost:9091/services/query?wsdl Line Number 1, Column 1: It's unclear if this is a matter of REST configuration or perhaps the <soap:address location=...> element plays a role in WSDL retrieval.
After further investigation and code walkthrough, not looking great. Axis2/C doesn't support dynamic WSDL generation but it does allow for service configuration to attach the WSDL file. <parameter name="wsdl_path" locked="xsd:false">/var/lib/services/query/aviary-query.wsdl</parameter> However, that just renders the WSDL file literally and doesn't parse the <xsd:import ...> statement so no way to render the types files unless they were hosted somehow from the stack or elsewhere over HTTP.