Hi all,

I have been trying to get cxf to consume a wadl (which is produced by me using 
cxf v2.5.1).  The service has a method defined like this:

  @Path("/{search:.*}")
  @POST
  public String testing(@PathParam("search") List<PathSegment> searchList)

When the wadl is generated it pops out this definition:

  <resource path="{search:.*}">
    <param name="search" style="template" repeating="true"/>
    <method name="POST">

When this is consumed by cxf version > 2.5.3 it emits a java class that won't 
compile:

    @Path("/{search:.*}")
    String postSearch:.*(@PathParam("search") List<String> search); //notice 
that this won't compile ;)

When I consume the same wadl with cxf 2.5.1 - 2.5.3 it produces this definition 
which at least compiles:

    @Path("{search:.*}")
    String post(@PathParam("search") List<String> search);

I've tried to search for this on the internet but it's just a bear to find 
anything relevant.  Any help would be appreciated.

Thanks
-Clint

Reply via email to