Apparently not yet[1], but CXF's java2wsdl has a flag so you can choose either way. I would say splitting them out though is a cleaner, more modular design--all you need to do is load the wsdl's and xsd's into the WEB-INF/wsdl directory of your WAR file. The SOAP clients accessing your web service will automatically be able to download everything. For human distribution, a ZIP file containing everything also will work.
If you really want everything in one file though, make an enhancement request[2].
Glen
[1]
https://metro.dev.java.net/nonav/1.0/docs/wsgen.html[2]
https://jax-ws.dev.java.net/servlets/ProjectIssues
metro wrote:
Hi All,
The JAX-RPC used to generate only one physical WSDL file for a web service but JAX-WS generates multiple files (wsdl and xsd) for one web service. Though segregating different types of the stuff in different files looks logical but if one needs to distribute the WSDL then it is quite inconvenient to handle them.
Is there anyway to instruct JAX-WS to generate only one file?
Thanks,
Vinod
[Message sent by forum member 'vinodsingh' (vinodsingh)]
http://forums.java.net/jive/thread.jspa?messageID=269899---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net