O'Reilly logo

Java™ Web Services Unleashed by Mark Wutka, Joseph Weber, Arthur Ryman, K. Scott Morrison, Benoît Marchal, Matthias Kloppmann, Steven Haines, Darren Govoni, Francisco Curbera, Frank Cohen, Robert Brunner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required