24.3.4.3. 使用 @WSDL 文档
@WebService
@WSDLDocumentation("A very simple example of an SEI")
public interface HelloWorld {
@WSDLDocumentation("A traditional form of greeting")
String sayHi(@WebParam(name = "text") String text);
}
当 第 24.3.4.4 节 “WSDL 使用文档生成” 中显示的 WSDL 从 第 24.3.4.3 节 “使用 @WSDL 文档” 中的 SEI 生成时,文档 元素的默认放置分别为 PORT_TYPE 和 PORT_TYPE_OPERATION。