You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by ramesh <my...@gmail.com> on 2012/05/22 13:25:12 UTC
Karaf JAX-RS bundle active - but inaccessible
karaf@root> cxf:list-endpoints
Name State Address
[MembershipServiceImpl ] [Started ] [/membership
When accessing the rest url , is it suppose to print the xml on the
browser ?
I tried localhost:8181/services/membership and many more variants, but
doesn't show up on browser.
How do I access the data via browser, just for test .
Any help is appreciated
regards
Ramesh
Re: Karaf JAX-RS bundle active - but inaccessible
Posted by ramesh <my...@gmail.com>.
On 05/22/2012 07:18 AM, Freeman Fang wrote:
> Hi,
>
> Try with
> http://localhost:8181/cxf/membership?_wadl&_type=xml
> Freeman
> On 2012-5-22, at 下午7:25, ramesh wrote:
>
>>
>>
>> karaf@root> cxf:list-endpoints
>> Name State Address
>> [MembershipServiceImpl ] [Started ] [/membership
>>
>> When accessing the rest url , is it suppose to print the xml on the
>> browser ?
>> I tried localhost:8181/services/membership and many more variants,
>> but doesn't show up on browser.
>>
>> How do I access the data via browser, just for test .
>>
>> Any help is appreciated
>> regards
>> Ramesh
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:ffang@fusesource.com
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
>
>
>
>
>
>
>
>
>
>
>
Thanks Freeman :)
http://localhost:8181/cxf/membership/members finally showed me some love.
Wonder why my previous attempts to access localhost:8181/cxf showed no
results before. Now it shows up beautifully. Could that be just the
browser not reloading properly ?
kind regards,
Ramesh
Re: Karaf JAX-RS bundle active - but inaccessible
Posted by Freeman Fang <fr...@gmail.com>.
Hi,
Try with
http://localhost:8181/cxf/membership?_wadl&_type=xml
Freeman
On 2012-5-22, at 下午7:25, ramesh wrote:
>
>
> karaf@root> cxf:list-endpoints
> Name State Address
> [MembershipServiceImpl ] [Started ] [/membership
>
> When accessing the rest url , is it suppose to print the xml on the
> browser ?
> I tried localhost:8181/services/membership and many more variants,
> but doesn't show up on browser.
>
> How do I access the data via browser, just for test .
>
> Any help is appreciated
> regards
> Ramesh
---------------------------------------------
Freeman Fang
FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042