Accessing a Web Service via a WSDL Document
The whole reason for declaring a WSDL document is, of course, to allow consumers to access your Web service. As a client of a Web service you want to be able to read the WSDL document and produce Java code to interact with it. You can do this in several ways. Clearly, one way is to read the WSDL document and produce by hand the code necessary to talk to the WSDL document. The process you work through here is similar to the processes you learned about in the SOAP chapters earlier.
Creating WSDL Proxy Classes
It seems unlikely that, as a Java developer, you will go through the whole process of creating the access to the service manually. Doing so would be time consuming, and it is fortunately not necessary. ...
Get Java™ Web Services Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.