Chapter 17. Describing, Publishing, and Finding Web Services

We have created Web Services and clients (consumers) for those Web Services. However, up until this point, we've ignored how potential clients of a service locate the service. The process of describing a Web Service, publishing that description to a registry, and searching for Web Services within registries is the topic of this chapter.

In all of our examples so far, the side initiating a connection knew something about how to find the other component; either a URL was known, or at the very least we knew a name that could be used to look up the service via the Java Naming and Directory Interface (JNDI). In real Web Services, we very often won't have any such information; we will know ...

Get J2EE™ and JAX™: Developing Web Applications and 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.