Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 62620 invoked from network); 7 Jan 2005 15:58:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Jan 2005 15:58:25 -0000 Received: (qmail 99402 invoked by uid 500); 7 Jan 2005 15:58:24 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 99378 invoked by uid 500); 7 Jan 2005 15:58:24 -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 99330 invoked by uid 99); 7 Jan 2005 15:58:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 07 Jan 2005 07:58:22 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j07FwJmO031283 for ; Fri, 7 Jan 2005 16:58:19 +0100 Message-ID: <2016010352.1105113499589.JavaMail.jira@ajax.apache.org> Date: Fri, 7 Jan 2005 16:58:19 +0100 (CET) From: "Andrew Perry (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Created: (AXISCPP-368) IHandlerSoapSerializer->setSoapVersion creates duplicate namespaces in header Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N IHandlerSoapSerializer->setSoapVersion creates duplicate namespaces in header ----------------------------------------------------------------------------- Key: AXISCPP-368 URL: http://issues.apache.org/jira/browse/AXISCPP-368 Project: Axis-C++ Type: Bug Reporter: Andrew Perry When I add call setSoapVersion in a handler, the SOAP Header adds duplicate namespaces which causes the web service call to fail. I have 2 handler tests, the only difference is "pISZ->setSoapVersion(SOAP_VER_1_2);" where pISZ is a pointer to the IHandlerSoapSerializer retrieved from the IMessageData object. The first working test produces this soap message: ---------------------------------- test Header Val ... ---------------------------------- And the second failing tests with the setSoapVersion call produces this soap message ---------------------------------- Soap Version Test ... ---------------------------------- As can be seen env is defined, but is different to SOAP-ENV which is also defined but never used, and also the xsd and xsi namespaces are defined twice though consistantly. When this message is sent the web server throws the following message ----- snippit -------------------- Bad envelope namespace: http://www.w3.org/2003/05/soap-envelope ---------------------------------- which is the definition of the env namespace which is used. The SOAP-ENV namespace is correct. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira