Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 30525 invoked from network); 18 Jan 2006 07:59:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jan 2006 07:59:04 -0000 Received: (qmail 34452 invoked by uid 500); 18 Jan 2006 07:59:03 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 34438 invoked by uid 500); 18 Jan 2006 07:59:03 -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 34426 invoked by uid 99); 18 Jan 2006 07:59:03 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 23:59:03 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0999ACB for ; Wed, 18 Jan 2006 08:58:42 +0100 (CET) Message-ID: <1346139704.1137571121992.JavaMail.jira@ajax.apache.org> Date: Wed, 18 Jan 2006 08:58:41 +0100 (CET) From: "Franz Fehringer (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXISCPP-904) undeclared xml namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N undeclared xml namespaces ------------------------- Key: AXISCPP-904 URL: http://issues.apache.org/jira/browse/AXISCPP-904 Project: Axis-C++ Type: Bug Components: Client - Engine Versions: 1.6 Alpha Environment: WIN2KSP4 JDK1.5.0_06 MSVC6SP6 Reporter: Franz Fehringer For me AxisC (both 1.5 and 1.6) generates invalid SOAP messages referring to undeclared namespaces. The problem occurs only if i set soap:header elements for inclusion in the SOAP message. Possibility 1 IHeaderBlock* phb = pegs->createSOAPHeaderBlock("Token", "http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"); i.e. no namespace explicitely given. In this case a correct soap:body containing only ns1 as prefix and declaring it beforehand is created. But the soap:header is wrong using the ns1 prefix without declaring it. Possibility 2 IHeaderBlock* phb = pegs->createSOAPHeaderBlock("Token", "http://www.pegs-pegstour.com/API/XMLSchema/1.0.1", "ns1"); i.e. namespace explicitely given. In this case a correct soap:header containing ns1 as prefix and declaring it beforehand is created. But the soap:body is wrong using an additional ns2 prefix without declaring it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira