In java, you can write your java webservice client by different ways. If you have wsdl, and its accessible, you can generate java client code on terminal using
wsimport tool. If you are interested in, how to generate java webservice source code using
wsimport? you can visit our another post, i.e. How to generate Java Webservice artifact using wsimport (on linux terminal or window).
Continue reading How to write hello world Java Webservice client
In JAX-WS you can generate the server side artifact and client side artifact of webservices using wsdl. It is your choice , how you start of developing webservice either Top-down ( contract-first ) or Bottom UP ( java code first). Which is better is better approach is completly depend on your preference and nature of services.
Continue reading JAX-WS: wsimport tool example with step by step