OK, test looks OK, so I'll have to peel back the real app and see what's going on...
On Mon, Feb 29, 2016 at 2:53 PM, Romain Manni-Bucau <[email protected]> wrote: > I use this king of thing for a personal project so guess issue is not on > client itself but either the model or server. > Le 29 févr. 2016 20:51, "Steve Goldsmith" <[email protected]> a écrit : > > > Crap. I knew you were going to ask that :) I'll through something > together > > now... > > > > On Mon, Feb 29, 2016 at 2:48 PM, Romain Manni-Bucau < > [email protected] > > > > > wrote: > > > > > Do you have a github sample showing it? > > > Le 29 févr. 2016 20:41, "sgjava" <[email protected]> a écrit : > > > > > > > Looks like M2 broke code working with SNAPSHOT and M1: > > > > > > > > List<Event2Dto> response = > > > > client.target(url).request().post(Entity. > > > > entity(rdvrEvent2DtoList, > MediaType.APPLICATION_JSON), > > > > new GenericType<List<Event2Dto>>() { > > > > }); > > > > > > > > This worked before to return a list of DTOs. > > > > > > > > javax.ws.rs.BadRequestException: HTTP 400 Bad Request > > > > > > > > > > > > > > > > -- > > > > View this message in context: > > > > > > > > > > http://tomee-openejb.979440.n4.nabble.com/TomEE-7-0-0-M2-JAX-RS-List-issue-tp4677721.html > > > > Sent from the TomEE Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > > -- > > Steven P. Goldsmith > > > -- Steven P. Goldsmith
