Java Stub Generation

As you observed in the preceding section, using WSIF for stubless, dynamic invocation can be quite compelling; however, it does make the client code difficult to read. With so much of the software development life cycle preoccupied with maintenance, clarity in program logic and flow is critically important. Fortunately, WSIF can address this need without sacrificing functionality.

WSIF includes a code generation utility that produces (and compiles) Java stubs from a WSDL description. This in itself is not particularly new or startling: As soon as WSDL appeared, people began creating simple code generators, and now it has become a commonplace tool accompanying any Web services framework such as Microsoft's .NET. IBM's Web ...

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.