cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabo Manuel <>
Subject Re: JAX-RS : initial WADL support
Date Thu, 10 Dec 2009 10:11:14 GMT
Hi Sergey,

Given he following:

@WebService(name="MyService", targetNamespace="")
@SOAPBinding(use=Use.LITERAL, style=Style.RPC)
public interface MyService {

    public List<MyObject> getMyObjects(...);


@XmlType(name="MyObject", namespace="")
@XmlRootElement(name="MyObject", namespace="")
public class MyObject

The object description is accurate. However, the method is displayed as 

<resource path="/search/">
<method name="GET">
<representation mediaType="text/xml"/>

Are lists not supported for WADL?

Thanks in advance.


Sergey Beryozkin wrote:
> Hi Gabo
>> Hi Sergey,
>> Sorry about that. But you did get the idea tho. :D
>>> Is it the wadl:request element which has no links to the schema 
>>> types ? If yes then it is expected when @Consumes is set to */*, 
>>> given that it may even be that only a non-XML format which is 
>>> accepted by a method...
>> Shouldn't the method still show some description of what the method 
>> is expecting? Maybe a redundancy of what was described in the grammar.
> See 

>> I would be trying having multiple specific values and update this 
>> thread of the results. Might take a while, got dragged to another task.
> Having @Consumes with multiple values will result in the generated 
> WADL reflecting it. Same for @Produces.
> hope it  helps, Sergey
>> Thanks again!
>> Gabo
>>> cheers, Sergey

View raw message