Hello Sergey,

Thank you very much for yr response.

In my methods, I am returning custom objects. These methods throw exception
according to certain validation. we want these exception should be part of
wadl. 

So my question is, how can I publish these exception into wadl??

Ashish


Sergey Beryozkin-2 wrote:
> 
> Hi
> 
> You can not do it in WADL. Application exceptions may be mapped to various
> response types so at the moment you can only have a WADL 
> instance listing possible response/error codes for individual resources
> which is not possible to implement in a java-first case. You 
> can use a CXF JAXRS @Description annotation to have a human-readbale
> description of the possible error conditions
> 
> cheers, Sergey
> 
> 
>>
>> Hello Guys,
>>
>> I want to know.. How to generate fault section in WADL using CXF??
>>
>> Please help me in this regards..
>>
>> Thank you very much in advance..
>>
>> Ashish..
>> -- 
>> View this message in context:
>> http://old.nabble.com/Regarding-fault-section-in-WADL..-tp27351601p27351601.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
>> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Regarding-fault-section-in-WADL..-tp27351601p27370147.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to