1) Where it is better to create a WS using frontend API like JaxwsServerFactorybean (produce)& JaxwsProxyFactoryBean (consume)or use the WSDL contract based approach?
2) By using the frontend API you dont have relay on the WSDL as much as it can be generated through the SEI with ?wsdl typed in the browser, hence WSDL is not used for generating the java classes to be used for consuming the WS as it is with WSDL contract based approach? In which we will use wsimport or wsdl2java to generate the java classes to comsume the WS?
Now tell me know which approch we need to use , i feel using front end api is easier and using this we can add more features of CXF like LoggingInInterceptor,LoggingOutInterceptor,SOAPHandlers,Handlerchain, etc by setting those in JaxwsServerfactoryBean which is not possible if we genereate the java classes from WSDL (using contract first approach)?
Please clarify and let me know your opinion any links on these as which one to choose is highly appreciated.