File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes BindingProvider Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "BindingProvider" Watch "BindingProvider" New topic
Author

BindingProvider

Amirtharaj Chinnaraj
Ranch Hand

Joined: Sep 28, 2006
Posts: 236
Hi All,

I have see this class BindingProvider in so may web service client as show below



what my question is How the object port is been cast to BindingProvider. the class SerPorttype is not even implementing the interface javax.xml.ws.BindingProvider

Please advice.

E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    9
Your SerPorttype is just an interface whose implementation is generated at runtime so the generated class could be implementing all sorts of interfaces.
Look up the proxy pattern (there are three types) to find out more about this use case.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BindingProvider