lkremer
12 years agoOccasional Contributor
Web services sample code fails
Hi, I'm about to create a web service and started with the official sample code: http://support.smartbear.com/viewarticle/25688/
It fails at the fourth line:
CodeCollaborator client = (CodeCollaborator) factory.create();
It throws a NullPointerException:
Has anyone managed to compile the sample code?
Are there other examples which could be guideline for the first steps?
Thanks!
It fails at the fourth line:
CodeCollaborator client = (CodeCollaborator) factory.create();
It throws a NullPointerException:
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at org.apache.cxf.jaxws.support.JaxWsServiceConfiguration.isWebMethod(JaxWsServiceConfiguration.java:166)
Has anyone managed to compile the sample code?
Are there other examples which could be guideline for the first steps?
Thanks!