• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAXWS with Frontend CXF API vs WSDL top down approach

 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am creating and consuming JAXWS in java,

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.

Thanks.


 
reply
    Bookmark Topic Watch Topic
  • New Topic