如果在类和接口中写的方法和类注释生成wsdl文档中也生成相应注释,不知道如何实现?可以考虑自己写一个java2wsdl的工具 目前的的工具似乎没有支持这个功能的。 因为现在的工具只是读取annotation无法对源码进行扫描 你看一下这个就明白了.http://blog.csdn.net/shenghuafen/archive/2005/08/02/444293.aspx 在文章中有一段这样的话: 这就是你说的文档注释吧. 2.7 Documenting the Service
As we have seen, a WSDL 2.0 document is inherently only a partial description of a service. Although it captures the basic mechanics of interacting with the service -- the message types, transmission protocols, service location, etc. -- in general, additional documention will need to explain other application-level requirements for its use. For example, such documentation should explain the purpose and use of the service, the meanings of all messages, constraints on their use, and the sequence in which operations should be invoked.
The documentation element allows the WSDL author to include some human-readable documentation inside a WSDL document. It is a convenient place to reference any additional documentation that a client developer may need in order to use the service. It can appear in a number of places in a WSDL 2.0 document (as can be seen in the syntax summary presented later), thoug