Creating WSDL Documents from a Java Class

The effort involved in laying out a WSDL document by hand is clearly not trivial. You might understandably wish for a way to create the WSDL document simply by introspecting your Java class. Fortunately, most application servers provide a tool to do just this. In addition, there is a Java Community Process group working on Java Specification Request 110 to provide a standardized set of tools and APIs called JWSDL (javax.wsdl).

Unfortunately, JWSDL is not yet available at the time of this writing. Most of the various application servers such as IONA, Bea, IBM's Websphere, and others contain tools to create proxies. For the purposes of this book, we'll use the Axis from Apache. (For information about obtaining ...

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.