JAX-WS RI should have a possibility to generate WSDLs with inline xsd schema at runtime.
1) Some parsers fail to validate created WSDL file with external xsd.
2) Many implementations of Enterprise Service Bus can work only with flat WSDLs.
3) All other implementations of JAX-WS standard can already generate flat WSDLs.
4) there: http://java.net/jira/browse/JAX_WS-85
There is no way to specify that for runtime WSDL generation. It needs a WebServiceFeature annotation or a DD entry.
One can always bundle the WSDL(so use wsgen and bundle the WSDL), so this annotation is not added so far. If there is a demand, we can consider doing that.
So there is a demand for doing that. I hope you'll understand. Now for example we are forced to use recompiled jax-rt.jar with this
and this is a true hack...