The Dynamic Invoker

The WSIF distribution includes a sample program that shows how flexible the concept of stubless, dynamic execution of services is. This program can run an astonishing number of simple Web service implementations. Unfortunately, it does have some limitations. To keep it very simple, the WSIF DynamicInvoker recognizes only a few simple Java primitive types. At present, this list unfortunately excludes long, so you can't use it to call your synchronizeTime() method. Nevertheless, it is still very powerful—and it can be extended very easily to accommodate more complicated types. Try this:

java clients.DynamicInvoker http://localhost:8080/wsif/TimeServer.wsdl  getTimeAtCity Asia
/Katmandu

Given only a WSDL definition, an operation ...

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.