I have searched a lot to find the concrete explanation of BindingProvider used in web services but I could get the complete information.
I have also read official documentation but I am still confused about the concept behind the BindingProvider. The official doc says
4.2 javax.xml.ws.BindingProvider
The BindingProvider interface represents a component that provides a protocol binding for use by clients, it is implemented by proxies and is extended by the Dispatch interface.
In docs, what is mean by Protocol Binding??
Can you guys please help me in understanding What is BindingProvider and its purpose with the help of simple code.
- Thanks
The
BindingProvider
interface defines accessor methods for the request and response context maps. TheDispatch<T>
interface extends thejavax.xml.ws.BindingProvider
interface. StandardBindingProvider
properties are defined by the JAX-WS specification and the client program may set and get these properties. The application may also define application-specific properties, but the specification discourages this for portability reasons.See Also:
Example: