2 Replies Latest reply on Oct 17, 2011 4:05 PM by Lekan Omotayo

    Exposing CXF and CXFRS

    Lekan Omotayo Expert



      I have a camel application already exposed as a soap service:






      will it be possible to use same route to expose a REST service?


      What would be the smartest way to do this.


      The main reason is to be able to use same port to accept REST requests and use the WSDL services as unique rest URLs.



      webservice url = http://loaclhost/webservices


      service1 in WSDL should have



      and on and on..


      Is this a pipe dream?


      Also I'd like my REST requests to be JSON (note that my SOAP requests are XML already - ofcourse we 'd be)


      Edited by: lekkie on Oct 12, 2011 7:13 PM