cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: CXF JAX-RS - json validation.
Date Thu, 11 Jul 2013 20:39:09 GMT
Hi Thorsten

I'll update the tests wiki page with this link

Thanks, Sergey
On 11/07/13 21:35, Thorsten Höger wrote:
> Am 11.07.2013 19:29, schrieb Gaetano Ciotola:
>> Hi,
>> I have implemented a jax-rs web service, the request is exclusively JSON.
>> I would like to perform some request validation but I have no idea how to
>> proceed.
>>
>> Any suggestion would be much appreciated
>>
>> Thanks
>>   Gaetano
>>
> Hi,
>
> I had the same challenge and I wrote a utility class to do this.
> https://github.com/taimos/RESTUtils
>
> Just use the class RESTAssert, it throws WebApplicationExceptions on invalid data.
>
> The library is available via Maven Central
>
> Regards,
> Thorsten
>


Mime
View raw message