in Education by
Like the title says: Is it possible to export my javadoc comments for web service method parameters into the wsdl? We're using CXF and the java2ws goal with maven to generate the wsdl from source code. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
You can use the @WSDLDocumentationCollection annotation to attach multiple @WSDLDocumentation annotations to a single method (with different placements) but you can't use this to go much deeper than placing documentation on single operations of a port, because that's where it ceases to be a WSDL problem and becomes an XSD problem. XSD documentation would be handled by an annotation at the JAXB level, except that no such annotation exists; the schema generated won't contain elements. (When starting from a schema, documentation comments can be generated as Javadoc, but the reverse direction doesn't happen as Javadoc comments aren't retained in Java class files.)

Related questions

0 votes
    Which of the following tool is used to generate API documentation in HTML format from doc comments in ... stackoverflow.com 🔗Source: Java Interview Questions and Answers...
asked Dec 19, 2020 in Technology by Editorial Staff
0 votes
    How to comment the code in Cucumber? What is the importance of comments??...
asked Jul 20, 2021 in Technology by JackTerrance
0 votes
    Can we nest comments in a C code?...
asked Nov 9, 2020 in Technology by JackTerrance
0 votes
    I am trying to make requests to dedicated WSDL server with the help of Apache Camel CXF. I have ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 5, 2022 in Education by JackTerrance
0 votes
    What are the benefits of using Maven?...
asked Feb 5, 2023 in Education by JackTerrance
0 votes
    What is the purpose of WSDL in a web service?...
asked Mar 13, 2021 in Technology by JackTerrance
0 votes
    What is the purpose of WSDL in a web service? A - A web services takes the help of WSDL to tag the data, format ... to describe the availability of service. D - None of the above....
asked Jan 12, 2021 in Technology by JackTerrance
0 votes
    What are the features of WSDL?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What is WSDL?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What WSDL stands for?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    What is the purpose of WSDL in a web service?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 16, 2022 in Education by JackTerrance
0 votes
    I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 16, 2022 in Education by JackTerrance
0 votes
    I ran into a problem a few days ago when I had to introduce C++ files into a Java project. It ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 16, 2022 in Education by JackTerrance
0 votes
    Which mode allows us to run program interactively while watching source code and variables during execution? (a) ... Servlet of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
...