Tools for Accessing Web Services
After you have found the Web services you need for your application, your next task is to access them. Tools can greatly simplify this task by generating a proxy from the WSDL. The proxy lets you invoke the service's operations as if you were invoking a local class's methods. The main difference is that the proxy can throw exceptions that occur in distributed computing.
In WSDL, XSD describes the data types used in the service interface. The proxy can use generic XML objects to represent these types—for example, as W3C DOM Elements—or it can represent them as Java beans. Tools can generate Java beans from XSD. In the case of Meet-in-the-Middle development, tools can help by generating mapping code to transform ...
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.