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 Class Cast Exception: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Class Cast Exception: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider" Watch "Class Cast Exception: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider" New topic
Author

Class Cast Exception: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider

natarajan rajan
Greenhorn

Joined: Mar 15, 2010
Posts: 3
Im Getting the Class Cast Exception from this method trying to set the security header in WSBindingProvider.

ERROR [PortalDelegateServlet:56] java.lang.ClassCastException: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider
java.lang.ClassCastException: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider

Why am i getting this error, please help

Thanks & Regards
R.Natarajan

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class Cast Exception: $Proxy542 cannot be cast to com.sun.xml.ws.developer.WSBindingProvider
 
Similar Threads
Adding authorization to access webservice
How standalone program interact with JBOSS
problem regarding reference cast
Cast problem
Web Service Failed to call binding provider