Wsdl2java in the Mac midpoint configuration

Source: Internet
Author: User

1, open the terminal, the default is the user directory, enter the following command:

LS -A

Show hidden files

2. Open the. Bash_profile and enter the following command

Open. Bash_profile

Configure the Java_home,axis2_home and add the Java and Axis2 bin directories to the path, and the Lib directory is added to the classpath

3, save, re-open the terminal can be used wsdl2java.sh

wsdl2java.sh [options]-uri <url or path>

The options that are commonly used are as follows:

-O <path>: Specifies the output path of the generated code-a: code-S for generating   asynchronous Patterns           :   code to generate synchronous mode-P <pkg>:   Specifies the code's package name-L < Languange>: The language Used (JAVA/C) is java-t by default            : Generate test cases for code-SS          :   Generate service-side code by default does not generate-SD          :   Build Service profile Services.xml, use D <databinding> only with-ss   : Specify databingding, for example, Adb,xmlbean,jibx,jaxme and jaxbri-g           : Generate code for server and client-PN <port_name>   : When there are multiple ports in the WSDL, specify one of the PORT-SN <serv_name>   : Select a service-u in the WSDL                       : Expand Data-binding Class-R <path>             : Specify a Repository-ssi for code generation                     :   Implement code Generation interface class-S for the server side                       : Specifies the storage path for the generated source-R                       :   Specifies the storage path for the generated resources--nobuildxml        :   build.xml file--nowsdl is not generated in the output            :   

Wsdl2java in the Mac midpoint configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.