Hi Vlad, I admit that this isn't my area of expertise, but could you send the code you are using to send the general list and the generated request output?
Thanks, Andy On Tue, Jun 19, 2018 at 4:08 AM vlad.balan <[email protected]> wrote: > Hello and thanks for the reply. > > In fact, the ideea is > - to work with beans. > - how would you do in java to nest those 2 beans under a multipart/mixed? > > > I tried something like > > > // ------------ THE SUB LIST > > List<Attachment> listSecondMultipart = new > ArrayList<Attachment>(); > > listSecondMultipart.add(new Attachment("beta", > "application/json", new > SomeBean("beta"))); > listSecondMultipart.add(new Attachment("gamma", > "application/json", new > SomeBean("gamma"))); > > > // -------------- THE GENERAL LIST > > List<Attachment> list = new ArrayList<Attachment>(); > > list.add(new Attachment("alfa", "application/json", new > SomeBean("alfa"))); > list.add(new Attachment("delta", "multipart/mixed", > listSecondMultipart)); > > > But the generated form-data is a chaos. > > So it doesn't serialize as i expect. > > > Thanks. > > > > -- > Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html >
