cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Where's my services list page?
Date Sun, 27 Nov 2011 20:18:18 GMT
On 27/11/11 20:02, Benson Margulies wrote:
> The problem here was that a thick layer of rust caused me to forget
> that the answer would be:
>
> /services/services

great, as I realized afterwards there was actually an endpoint listening 
on "/service/"...
Cheers, Sergey



>
>
>
> On Sun, Nov 27, 2011 at 1:57 PM, Sergey Beryozkin<sberyozkin@gmail.com>  wrote:
>> I guess a servlet controller is confused by the fact that a context is
>> "/services/*" and jaxrs:server/@address="/";
>>
>> Try a "service-list-path" servlet parameter as a workaround, set it to say
>> "/servicesList", I can investigate it later, wondering if it is something to
>> do with a "//" issue
>>
>> Sergey
>>
>> On 26/11/11 21:20, Benson Margulies wrote:
>>>
>>> So, I'm running 2.5.0, I've got some JAX-RS services, and browsing to
>>> the 'services' url doesn't come with anything.
>>>
>>> I'm launching from Spring:
>>>
>>>     <jaxrs:server id="services" address="/">
>>>
>>>      <jaxrs:serviceBeans>
>>>        <ref bean="document-service" />
>>>        <ref bean="admin-service" />
>>>        <ref bean="language-code"/>
>>>      </jaxrs:serviceBeans>
>>>      <jaxrs:providers>
>>>          <bean class="org.codehaus.jackson.jaxrs.JacksonJsonProvider"/>
>>>          <bean class="com.basistech.rlp.ws.EofExceptionProvider"/>
>>>      </jaxrs:providers>
>>>      </jaxrs:server>
>>>
>>> and web.xml has
>>>
>>> <servlet>
>>>          <description>Apache CXF Endpoint</description>
>>>         <servlet-name>cxf</servlet-name>
>>>
>>>   <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
>>>                 <load-on-startup>1</load-on-startup>
>>>         </servlet>
>>>         <servlet-mapping>
>>>                 <servlet-name>cxf</servlet-name>
>>>                 <url-pattern>/services/*</url-pattern>
>>>         </servlet-mapping>
>>
>>
>> --
>> Sergey Beryozkin
>>
>> http://sberyozkin.blogspot.com
>>
>> Talend Community Coders
>> http://coders.talend.com/
>>

Mime
View raw message