I didn't realize how CXFServlet handles its mapping, I've got this one under control.
On Mon, Nov 2, 2009 at 3:42 PM, Sergey Beryozkin <[email protected]>wrote: > Hi Benson, > > I need a bit more info. > > Request URI : > > http://localhost:9090/rex-ws/service/configuration/regexp-set/default-ar > a/replace-contents/xml<http://localhost:9090/rex-ws/service/configuration/regexp-set/default-ar%0Aa/replace-contents/xml> > > WebApp Context : "rex-ws" > > What about > jaxrs:server/@address ? > > > it has to start from /configuration, ex : > > /configuration/regexp-set/default-ara/replace-contents/xml > /configuration/regexp-set/default-ara/ > > etc > > thanks, Sergey > > > > > -----Original Message----- > From: Benson Margulies [mailto:[email protected]] > Sent: 02 November 2009 20:16 > To: CXF Users > Subject: JAX-RS service hiding? > > I'm stumped by: > > org.apache.cxf.transport.servlet.ServletController - Can't find the > request > for > http://localhost:9090/rex-ws/service/configuration/regexp-set/default-ar > a/replace-contents/xml'sObserver<http://localhost:9090/rex-ws/service/configuration/regexp-set/default-ar%0Aa/replace-contents/xml%27sObserver> > > I changed my web.xml to have: > > <servlet-mapping> > <servlet-name>CXFServlet</servlet-name> > <url-pattern>/service/*</url-pattern> > </servlet-mapping> > > and changed the publish address to match: > > org.apache.cxf.endpoint.ServerImpl - Setting the server's publish > address > to be /service/configuration >
