users@wadl.java.net

Multiple GET methods for same resource

From: Sebastian Paul <me_at_sebpaul.de>
Date: Wed, 09 Jun 2010 09:36:05 +0200

Hi there,
our WADL defines multiple GET methods for the same resource, all with
mediaType application/xml. The generated code then contains multiple
methods with name getAsApplicationXml.
Is there a way to work around it?
I thought of a switch that changes the naming behavior where the method
id is used as a prefix.

Best regards, Sebastian