Java Webservice java.lang.ClassCastException: org.apache.cxf.jaxws.ServiceImpl
- by JohnC
I am using Maven, CXF 2.2.7, JBoss 4.2.3 and JRE 1.5
I have a Webservice that I can see on the server by using the URL myURL/myService?wsdl
I am trying to develop a web app to ping that webservice by calling this in my bean:
MyWebService webservice = new MyWebService();
However, it dies and throws the following error, which is very vague:
…