Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 852E11057B for ; Wed, 10 Jul 2013 16:05:52 +0000 (UTC) Received: (qmail 73587 invoked by uid 500); 10 Jul 2013 16:05:52 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 73463 invoked by uid 500); 10 Jul 2013 16:05:51 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 73242 invoked by uid 99); 10 Jul 2013 16:05:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jul 2013 16:05:49 +0000 Date: Wed, 10 Jul 2013 16:05:49 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-5108) parameter beans feature not working through dynamic proxy based clients for JAXRS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-5108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-5108. ----------------------------------- Resolution: Fixed Fix Version/s: 3.0.0 2.7.6 Maps with complex values (beans, etc) will be ignored but Map with primitive values or Lists of primitive values will be supported > parameter beans feature not working through dynamic proxy based clients for JAXRS > --------------------------------------------------------------------------------- > > Key: CXF-5108 > URL: https://issues.apache.org/jira/browse/CXF-5108 > Project: CXF > Issue Type: Bug > Components: Core, JAX-RS > Affects Versions: 2.7.3, 2.7.5 > Reporter: Sambit Dikshit > Assignee: Sergey Beryozkin > Fix For: 2.7.6, 3.0.0 > > > We have a resource method declared as below. > @Path("/books") > @Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON }) > Book searchBook(@QueryParam("") Book book) throws ServiceException; > Here the query param can be any combination of property of the book bean which are searchable. > When we construct the URL with appropriate query string and use the web client, it works fine. > But it does not work when some one is using the proxy based approach where the client get hold of the interface for e.g BookStoreResourceI and try to get call the searchBook(Book b) method on that resource interface. > When debug found that, the client side conversion for cases like @QueryParam("") > @PathParam(""), @MatrixParam("") are missing and its being implemented in the JAXRSInvoker.invoke operation just before invoking the resource API/method. > We need to have this feature of conversion from these parameter types to actual URL so that irrespective of which type of client is consuming your service, it will work. Otherwise it will become a half baked client consumption model. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira