2 Replies Latest reply: Feb 28, 2012 3:27 PM by Moacir Cardoso RSS

    Deploying RestFULL Webservices with Spring

    Moacir Cardoso Newbie

      I'm having trouble deploying my RestWS  application using Spring and CXF.

      I created an OSGI bundle with the following structure:

       

      br.teste.services.rest

      . |____ META-INF

      .......|___MANIFEST.MF

      .............. |___spring

      .....................                          |___applicationContext.xml

      . |____br.teste.services.rest

      ..............|____ ...

       

       

      MANIFEST.MF

       

      Manifest-Version: 1.0

      Bnd-LastModified: 1330009008451

      Bundle-ManifestVersion: 2

      Bundle-Name: Teste Rest WebService

      Bundle-SymbolicName: br.teste.services.rest

      Bundle-Version: 1.0.0

      Created-By: 1.6.0_27 (Sun Microsystems Inc.)

      Export-Package: br.teste.services.rest;uses:="javax.ws.rs,org.springfram

      ework.stereotype";version="1.0"

      Import-Package: javax.ws.rs,org.springframework.stereotype

      Include-Resource: META-INF = src/META-INF

      Tool: Bnd-1.51.0

       

       

      ApplicationContext.xml

       

       

       

      I can install and start the bundle, but I can not call the service by web browser.

       

      Which log file should I look?