2015-10-01 14:16 GMT+04:00 Vjacheslav V. Borisov <slav...@gmail.com>:

> Hi!
>
> I am trying to model rest api  which can consume different xml
> representations, but without success
> I have two methods on same url which accepts application/xml, but
> different objects: single object and collection of objects
>
>
http://stackoverflow.com/questions/411462/restful-way-to-create-multiple-items-in-one-request

Another option is to use different method, like PUT (but PUT is like
replacing collection), or PATCH  (modify collection)
Unfortunately wadl2java do not generate @PATCH annotation for PATCH methods

Reply via email to