WSIF Dynamic Client
Now it's time to investigate how WSIF can be used to access a Web service dynamically, without an explicit stub. In a sense, you can think of this as the Web services version of Java reflection and the classloader. WSIF uses the WSDL file describing the service to determine the operations published by the service, and more significantly, the concrete bindings available for the service endpoint. One of the real advantages to this arrangement is that it hides the messy details of WSDL, which can admittedly be fairly complex.
Given a WSDL document and a port named in it, WSIF can make calls to the network service endpoint that the port identifies. WSIF elicits calls on the service by making use of a provider specific to the binding ...
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.