Dear all,

I'm new to CXF so please accept my apologizes if I say / do something wrong. I built a web service with CXF based on JAX-WS, running in an apache Tomcat container. Everything is working fine, I have a java CXF client accessing it by exchanging SOAP messages.

I would like this service to be able to reply with either SOAP or JSON encoded messages, because I have 2 different applications accessing this web service, and one is based on GWT (Google Toolkit) which, I think, prefers JSON then SOAP.

Here is how my endpoint is configured in my cxf configuration file :


  <jaxws:endpoint id="core" address="/core"
      implementor="com.telovia.PanoramaService.WSPanoImpl" />

Anyone having implemented this ? Is it good practice ? Any advice is of course welcome.

Cordially,

Thomas

Reply via email to