|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
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-ara/replace-contents/xml'sObserver 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 |
|
|
RE: JAX-RS service hiding?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 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:bimargulies@...] 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 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 |
|
|
Re: JAX-RS service hiding?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 <sberyozk@...>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:bimargulies@...] > 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 > |
| Free embeddable forum powered by Nabble | Forum Help |