Answer the question
In order to leave comments, you need to log in
How to generate documentation for xsd schema based on java-doc?
To generate xsd schema for soap, jax-b is used. because every time the circuit is generated from scratch the question arose. Is it possible to customize the xsd documentation generation based on the java documentation available in the class?
Answer the question
In order to leave comments, you need to log in
This can be done, but the classic JavaDoc will not work. Here is the approach that I have successfully applied in my projects. You just need to add the necessary annotations, and deal with non-standard versions of libraries. After that, I generate WSDL like this:
org.apache.cxf.tools.java2ws.JavaToWS.main(new String[]{"-d", "d:\\temp\\gen\\", "-verbose",
// "-createxsdimports",//раскоментировать если нужно выделить xsd-шки в отдельные файлы
"-wsdl", "webservice.SomeService"});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question