Chapter 6. JAX-WS—Client-Side Development
JAX-WS 2.0 provides the Java Web Services standard for both deploying and invoking Web services. In this chapter, I look at the client-side invocation capabilities provided by JAX-WS. In particular, I focus on how to use JAX-WS as a client-side tool for creating SOA components that consume Web services.
6.1. JAX-WS Proxies
JAX-WS, like its predecessor, JAX-RPC, is designed so that programmers can invoke a Web service just as through they are invoking a Java method. In fact, in many respects, JAX-WS imitates Java Remote Method Invocation (Java RMI). Like Java RMI, JAX-WS enables the programmer to use a local method call to invoke a service on another host. Unlike Java RMI, however, the service on the ...
Get SOA Using Java™ Web Services 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.