CXF invoke client generates Java code from WSDL file

Source: Internet
Author: User
Tags wsdl

1. Download online: Apache-cxf-2.5.11.zip

2, decompression put to the corresponding directory

3, execute the following code to generate the corresponding client

4 、--Build Client

Wsdl2java-autonameresolution-frontendjaxws21-impl-exsh True-p com.sf.module.bilmonreport.service.store.client-d D:\esb-test\aa\client-client D:\esb-test\aa\ WAYBILLIMAGEQUERYSERVICE.WSDL

Note: D:\esb-test\aa\client the path to the build code

D:\ESB-TEST\AA\WAYBILLIMAGEQUERYSERVICE.WSDL is the corresponding WSDL file path

Note: Remember not to make the wrong above code, not directly copied it, the following is a screenshot of the example



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.