Sergey,
I added @Consumes at the class level and it worked! I think adding it at a
method level will have the same effect... thanks a lot..
@Path("/")
@Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
*@Consumes({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })*
public interface XXXListService {
@POST
@Path("/index")
@ElementClass(request = ListRequest.class, response =
ListResponse.class )
public Response getPreferenceTypeList(
ListRequest listRequest,
@PathParam("format") @DefaultValue("json") String
format);
--
View this message in context:
http://cxf.547215.n5.nabble.com/Unable-to-represent-complex-type-in-the-Request-tag-of-WADL-tp5743441p5743506.html
Sent from the cxf-user mailing list archive at Nabble.com.