How JAX-WS works?
Posted on 2010-08-27
I've used the wsimport tool from JAX-WS to create a Java WebService client from a published WebService.
What I understood was:
The tool gets the WSDL file from WebService and generates all the classes that we need to call the WebService.
wsimport creates two classes for each method that we have in WebService - one to request and another to response - and also creates some others classes...
It's a little confusing to me.
Can somebody explain me all this process? I mean, how these classes works and what are their roles in WebService comunication.
Thanks in advance!