source2wsdd:和XDoclet的wsee任務(wù)類(lèi)似,根據(jù)在程序里面設(shè)定的標(biāo)記來(lái)生成web-services.xml。也就是WSDL。
- @wlws:webservice,used in the Javadoc for the class that implements your Web Service.
- @wlws:operation, used in the Javadoc for a method that you want to expose as a Web Service operation.
- @wlws:part partname, used in the Javadoc for a method that has been exposed as an operation and you want to customize the description of its parameters and return values
即使你不使用任何標(biāo)記,source2wsdd任務(wù)也會(huì)自己分析源代碼進(jìn)行猜測(cè)。例如servicename等。
****************************************************************************************
autotype:Generates the serialization class, Java representation, XML Schema representation, and data type mapping information for non-built-in data types used as parameters or return values to a WebLogic Web Service.
- weblogic.ant.taskdefs.webservices.autotype.AutoTyper?
- webservices.jar
****************************************************************************************
clientgen:Generates a client JAR file that contains a thin Java client used to invoke a Web Service.
- weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
- webservices.jar
****************************************************************************************
wsdl2service:Generates the components of a WebLogic Web Service from a WSDL file. The components include the web-services.xml deployment descriptor file and a Java source file that you can use as a starting point to implement the Web Service.
- weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service
- webservices.jar
****************************************************************************************
wsdlgen:Generates a WSDL file from the EAR and WAR files that make up the Web Service.
- weblogic.ant.taskdefs.webservices.wldlgen.WSDLGen
- webservices.jar
****************************************************************************************
wspackage:Packages the components of a WebLogic Web Service into a deployable EAR file.
- weblogic.ant.taskdefs.webservices.wspackage.WSPackage
- webservices.jar
****************************************************************************************