[ 
https://issues.apache.org/jira/browse/CXF-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674245#action_12674245
 ] 

Andreas Sahlbach commented on CXF-1695:
---------------------------------------

Please take into account that I am relatively new to REST, so I may talk 
rubbish. :-)

It would be nice if the content you are showing is depending to the accept 
header of the request. If it's "text/html" go for 3. If it's "application/xml" 
or something go for 2. 

But that's not the point of my initial comment. It's not acceptable that a 
product crashes hard with an NPE just by using it correctly. This is simply a 
bug and should be fixed. As already suggested: Just ignore the REST services 
for the first fix, but don't crash. 

Implementing the features you've mentioned would be very nice but that's 
clearly an improvement and can be done later. This issue should be split up 
into a bug and an improvement issue. This would be totally ok for me.

> Service listings for JAX-RS endpoints
> -------------------------------------
>
>                 Key: CXF-1695
>                 URL: https://issues.apache.org/jira/browse/CXF-1695
>             Project: CXF
>          Issue Type: Improvement
>          Components: REST
>            Reporter: Anthony Schexnaildre
>
> The /services path does not work for listing JAX-RS services. Ultimately 
> listing these endpoints along with the SOAP endpoints, et el, would be ideal

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to