users@wadl.java.net

Re: Multiple GET methods for same resource

From: Andrew Glowik <andy.glowik_at_bericotechnologies.com>
Date: Thu, 10 Jun 2010 10:29:59 -0400

 PREVIOUS EXAMPLE SHOULD HAVE BEEN...
<param style="query" name="command" type="xsd:string" required="true">

<doc>'retry' or 'delete'</doc>

</param>


On Thu, Jun 10, 2010 at 10:28 AM, Andrew Glowik <
andy.glowik_at_bericotechnologies.com> wrote:

> Your "command" is a query string. This can be defined in WADL easily. Along
> with GET, the query string defines your interface formally. Your goal should
> be met. I suppose you can add a comment in WADL to enumerate query string
> values.
>
>
> <param style="command" name="action" type="xsd:string" required="true">
>
> <doc>'retry' or 'delete'</doc>
>
> </param>
> Beyond this, sounds like you want wadl2java to generate clients for
> different query strings. This is a different issue. Sorry, I can not help
> you here.
>
> On Thu, Jun 10, 2010 at 10:07 AM, Sebastian Paul <me_at_sebpaul.de> wrote:
>
>> Yes sure, but then the Maven plugin loses any benefit.
>> Our goal is a formal definition of the interface. Any change would reflect
>> in the generated code. Clients would then have a dependency to that module.
>>
>> Am 6/10/2010 4:01 PM, schrieb Andrew Glowik:
>>
>> You can always edit by hand the resulting wadl2java Java source code.
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_wadl.dev.java.net
>> For additional commands, e-mail: users-help_at_wadl.dev.java.net
>>
>>
>
>
> --
> Andrew Glowik
> Berico Technologies
> 410-872-1365
>



-- 
Andrew Glowik
Berico Technologies
410-872-1365