Return-Path: Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: (qmail 78855 invoked from network); 18 Oct 2010 10:54:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Oct 2010 10:54:51 -0000 Received: (qmail 23796 invoked by uid 500); 18 Oct 2010 10:54:51 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 23618 invoked by uid 500); 18 Oct 2010 10:54:48 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 23610 invoked by uid 99); 18 Oct 2010 10:54:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 10:54:46 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Oct 2010 10:54:44 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9IAsMEi003693 for ; Mon, 18 Oct 2010 10:54:23 GMT Message-ID: <27367515.20041287399262872.JavaMail.jira@thor> Date: Mon, 18 Oct 2010 06:54:22 -0400 (EDT) From: "David Jang (JIRA)" To: c-dev@axis.apache.org Subject: [jira] Created: (AXIS2C-1495) An error found while receiving www-form-urlencoded parameter values sent by POST method in REST style. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org An error found while receiving www-form-urlencoded parameter values sent by POST method in REST style. ------------------------------------------------------------------------------------------------------ Key: AXIS2C-1495 URL: https://issues.apache.org/jira/browse/AXIS2C-1495 Project: Axis2-C Issue Type: Bug Components: REST Affects Versions: 1.6.0 Environment: Windows 7, Win32 Reporter: David Jang I have been writing my code using Axis2/c server to apply to my project from about a month ago. I found a strange bug, which I don't know whether it was occurred from me or from axis2/c server. Could you check this out for me? Situation is like this. I sent a HTTP request using IE with the code shown below.
Tag ID
Transaction ID
Value

Let's assume that I inputted 1, 1, 100 for respective Tag ID, Transaction ID, and Value. On server side, when I look into the parameters using the below function in school_skeleton.c axiom_node_t *AXIS2_CALL school_invoke( axis2_svc_skeleton_t * svc_skeleton, const axutil_env_t * env, axiom_node_t * node, axis2_msg_ctx_t * msg_ctx) { ... axis2_char_t * pStrNode = axiom_node_to_string(node, env); } It shows like this. <...>1110<...> Please make notice that 10 which is not correct, it should be 100 since I put 100 into Value param as shown above. I really don't know why the last character is trancated when params with xxx-form-urlencoded form are sent by POST. It does not problem when the GET method is used or xml data is sent to the axis2/c server. Only POST method parameters with xxx-form-urlencoded form are sent to Axis2/c server. Could you give a hint for me to resolve this problem? It really annoying me from a few days ago. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org For additional commands, e-mail: c-dev-help@axis.apache.org