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
First we need to know the WebService interface address, here my test address is http://localhost:8085/Service/Function?wsdl.
Right-click Save As, saved as a. wsdl file.
Create a new Java project in Eclipse.
Copy the. wsdl file to the bottom of the Java project.
Right-click to create a new WebService client project file.
Click Browse, select the. wsdl file that you copied earlier, and click Next.
This will be the default output client path, typically src file.
Click Finish, the client build succeeds, we can call it normally.
"Wsimport-keep" generates a client error "Use of SOAP Encoding was not supported."