You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2009/11/02 21:16:29 UTC
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?
Posted by Benson Margulies <bi...@gmail.com>.
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 <sb...@progress.com>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@gmail.com]
> 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
>
RE: JAX-RS service hiding?
Posted by Sergey Beryozkin <sb...@progress.com>.
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@gmail.com]
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