What is the WebserviceClient client calling code generated by apache-cxf according to WSDL?
This article mainly introduces "apache-cxf generates WebserviceClient client call code according to WSDL". In daily operation, I believe many people have doubts about what apache-cxf generates WebserviceClient client call code according to WSDL. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubt that "apache-cxf generates WebserviceClient client call code according to WSDL". Next, please follow the editor to study!
Apache-cxf generates WebserviceClient client call code according to WSDL
Download apache-cxf
Go to the bin directory and execute the wsdl2java command
D:\ Develop\ Apache\ apache-cxf-3.1.1\ bin > wsdl2java http://***.com/***/WebService?wsdl
Without reporting an error, the calling code will be generated in the bin directory
Import the code into the project and you can use it.
At this point, the study on "what is the WebserviceClient client call code generated by apache-cxf according to WSDL" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!