简体   繁体   中英

What is the default binding of wsimport?

I used wsimport to generate my client stubs. My code for wsimport is like this:

wsimport -wsdllocation webservice.wsdl -keep webservice.wsdl -B-XautoNameResolution

What binding do I use? Am I using JAXB? How do I know if I'm using JAXB?

Thanks!

JAXB (JSR-222) is the standard binding layer for JAX-WS (JSR-224) implementations. You will know that you are using JAXB if the generated domain model has annotations from the javax.xml.bind.annotation package.

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