"Wsimport-keep" generates a client error "Use of SOAP Encoding was not supported."

Source: Internet
Author: User

Originally wanted to use "wsimport-keep" to generate the client, the result error "Uses of SOAP Encoding is not supported." Should be a missing jar package,

Busy trouble found the Baidu experience on this method. The following is a tutorial

WSDL File generation Client
    1. First we need to know the WebService interface address, here my test address is http://localhost:8085/Service/Function?wsdl.

    2. Right-click Save As, saved as a. wsdl file.

    3. Create a new Java project in Eclipse.

    4. Copy the. wsdl file to the bottom of the Java project.

    5. Right-click to create a new WebService client project file.

    6. Click Browse, select the. wsdl file that you copied earlier, and click Next.

    7. This will be the default output client path, typically src file.

    8. Click Finish, the client build succeeds, we can call it normally.

"Wsimport-keep" generates a client error "Use of SOAP Encoding was not supported."

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.