The getMethodName of class ResourceClassGenerator (WADL core module) is where the method names are generated. I'm able to work on this right now so I suggest you patch this code in the meantime.
Marc.
From: Sebastian Paul [mailto:me_at_sebpaul.de]
Sent: Thursday, June 10, 2010 11:09 AM
To: users_at_wadl.dev.java.net
Subject: Re: Multiple GET methods for same resource
Fixed parameter value is exactly what I need, thank you.
SoapUI does not support it. The value is ignored, an empty parameter is sent. However, I just define the same value as default, then SoapUI appends it.
Wadl2java does the correct job: it excludes the parameter from the Java method signatures and assigns a static value - fine!
Now I just need the "IncludeIdInMethodName"-switch and I have what I need ;)
Regards, Sebastian
Am 6/10/2010 4:49 PM, schrieb Hadley, Marc J:
Its not a WADL restriction, a parameter can have a fixed value, see the param/_at_fixed attribute:
http://www.w3.org/Submission/wadl/#x3-270002.12.2