简体   繁体   中英

Generate service from wsdl

how can I generate service from .wsdl file? I'm trying to do it with this command: wsdl2java - client example.wsdl But I'm getting 'wsdl2java' is not recognized as an internal or external command. How can I install it?

Use following command:

wsimport -keep wsdlFileName

It will generate all necessary files for wsdl client. wsimport is native tool for java and if you have java you do not need install anything.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM