Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 87336 invoked from network); 5 Mar 2009 06:42:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 06:42:22 -0000 Received: (qmail 57374 invoked by uid 500); 5 Mar 2009 06:42:20 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 57313 invoked by uid 500); 5 Mar 2009 06:42:20 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 57304 invoked by uid 99); 5 Mar 2009 06:42:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2009 22:42:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 06:42:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 43268234C4B5 for ; Wed, 4 Mar 2009 22:41:59 -0800 (PST) Message-ID: <575904939.1236235319273.JavaMail.jira@brutus> Date: Wed, 4 Mar 2009 22:41:59 -0800 (PST) From: "Chris Hyzer (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3364) RESTFul serivce problem when parameters are short In-Reply-To: <14362871.1195890824011.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679093#action_12679093 ] Chris Hyzer commented on AXIS2-3364: ------------------------------------ Hey, Is this issue fixed in 1.5? When is 1.5 coming out? My users are still tripping over this issue, it makes the web services very hard to use since the server side just silently ignores some inputs, or transposes them. Its a serious serious bug. Thanks! Chris > RESTFul serivce problem when parameters are short > ------------------------------------------------- > > Key: AXIS2-3364 > URL: https://issues.apache.org/jira/browse/AXIS2-3364 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.3 > Reporter: takanori > Fix For: 1.5 > > Attachments: axis2_3364.patch > > > If I develop a RESTFul web service, there is a case that service paramters are not correctly set. > The service class is : > ------------------------------------------------------------ > public class RESTfulEcho { > public EchoDto echo(Integer id, String message) { > EchoDto dto = new EchoDto(); > dto.setId(id); > dto.setMessage(message); > return dto; > } > } > I've tried to call the service like this : > ------------------------------------------------------------ > http://localhost:8080/axis2/services/RESTfulEcho/echo?message=123 > The parameter "id" is not explicitly set. > Then the service parameters are : > id ---> 123 > message ---> null > When the parameters are explicitly set, > the service works correctly. > ------------------------------------------------------------ > http://localhost:8080/axis2/services/RESTfulEcho/echo?id=&message=123 > But, I hope that when the parameters is not explicitly set, > the parameter is set null or throw a exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.