I have written CXF web services and my endpoint configuration in beans.xml is

<jaxws:endpoint
id="searchClassifications"
implementor="com.webservice.classification.Classif icationSearchImpl"
address="/classificationSearch" />

Now, I have ClassificationSearchImpl class where I used annotation @WebService. I would like to have all configuration there instead of my beans.xml configuration. So how can I do that?

I tried with following by removing above entry from beans.xml and put @Webservice parameters but it doesn't create WSDL when I deployed on Tomcat.
@WebService(endpointInterface = "com.webservice.classification.ClassificationSearc h", serviceName = "ClassificationSearchImpl", targetNamespace="http://classification.webservice.com", portName="ClassificationSearchPort")
public class HcscClassificationSearchImpl implements HcscClassificationSearch{
....
}

To add more clarity in my question, for example in web mvc we have
<mvc:annotation-driven conversion-service....> to say spring that use the annotations.

I am looking for similar configuration. Please help.

Thanks,
Sandip