Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 67725 invoked from network); 28 May 2008 15:50:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 May 2008 15:50:48 -0000 Received: (qmail 99686 invoked by uid 500); 28 May 2008 15:50:50 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 99505 invoked by uid 500); 28 May 2008 15:50:50 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 99494 invoked by uid 99); 28 May 2008 15:50:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 08:50:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of julien.billon@gmail.com designates 209.85.198.250 as permitted sender) Received: from [209.85.198.250] (HELO rv-out-0708.google.com) (209.85.198.250) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2008 15:49:56 +0000 Received: by rv-out-0708.google.com with SMTP id c5so2921266rvf.28 for ; Wed, 28 May 2008 08:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=SR+Pr56Lz/li2c6OsSxhFz3+1816ALZUAaww6bQqmDM=; b=Rz5yK0kgTG/JgqAqsHoZsEkBGvRLNqlGhhz3Br70kSrlBpQ59d7h+JIvWBoqLFs74fwamwMmzi6JWiNmdnYv5dAllMi4CqUr9AYwtHq8SQqww0GAlUZ/DHr1rM6YeRFbB2Es/2a5+r3146xoIhWt4J1k8GsuwY4oLb0/dqauaQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ZfzailRlG0NxHhAnEV8VXm7CveU5vv5EATbuth6UePMmRdAtRda/McNI5hiiNOoOZ3hLcK7SR0fkyKOi4OLtuvaSzYfbixnH5S2rraVB9eyrVmc2Qz2XzjNP8Rj4JnyN5dDb9egI+xrlAxsyGsX1sKT15d+0pKNmZwWklhYVtQM= Received: by 10.141.22.1 with SMTP id z1mr1319689rvi.282.1211989817854; Wed, 28 May 2008 08:50:17 -0700 (PDT) Received: by 10.141.197.3 with HTTP; Wed, 28 May 2008 08:50:17 -0700 (PDT) Message-ID: Date: Wed, 28 May 2008 17:50:17 +0200 From: "Julien Billon" To: axis-c-dev@ws.apache.org Subject: ws-addressing module MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm playing with axis2/c ws-addressing module (axis2/c 1.3.0 and 1.4.0) and I've noticed something strange with Reference Parameters in EPR: I have a message with a like http://example.com/services/testSvc 123456789 http://example.com/actionTest 6dc6e535-1a70-4544-9715-26f06cdcf7bb In the axis2_addr_in_extract_ref_params() function of the ws-addressing module, the wsa_qname variable is defined with axutil_qname_create(env, "IsReferenceParameter", "http://www.w3.org/2005/08/addressing", NULL) and as you can see, there is no prefix specified whereas "wsa" must be used according to the w3c recommendation (for ws-addressing). As a result, axiom_element_get_attribute( =85, wsa_qname) returns a NULL pointer. I've replaced the NULL prefix with "wsa" in wsa_qname and axiom_element_get_attribute( =85, wsa_qname) returns the correct attribute (IsReferenceParameter). The next function axiom_attribute_get_localname() returns "IsReferenceParameter" but this value is then compared with "true" (axutil_strcmp(attr_value, "true")). I think there's a little misunderstanding here between axiom_attribute_get_localname() and axiom_attribute_get_value(), we must first check if axiom_attribute_get_localname() returns "IsReferenceParameter" and then if axiom_attribute_get_value() returns "true". What do you think of this ? Is my thinking correct ? Regards, Julien --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org