1, first download CXF package http://cxf.apache.org/download.html, now CXF package. (Download resources will be available)
2. Unpack the package and go to the bin directory via the cmd command (the path of the CD Cxf\bin)
CXF Generating Client code
3. Use the Wsdl2java command to generate client code at the command line to execute wsdl2java-p org.logink.ws-d f:\logink\src-all E:\wsdl3.1-credit\ logisticscreditservice\logisticscreditservice.wsdl
Wsdl2java usage:
Wsdl2java-p com-d Src-all aa.wsdl
-p Specifies the namespace of its WSDL, which is the package name to generate code for:
-d Specifies the directory where the code is to be generated
-client generating the code for the Client test Web service
-server The build server starts the code for the Web service
-impl Generating the implementation code for a Web service
-ant Generating Build.xml files
-all generates all start endpoint codes: Types,service Proxy,,service interface, server mainline, client mainline, implementation object, and an an T build.xml file.