Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 27101 invoked from network); 20 Jan 2006 18:18:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jan 2006 18:18:04 -0000 Received: (qmail 44405 invoked by uid 500); 20 Jan 2006 18:18:03 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 44387 invoked by uid 500); 20 Jan 2006 18:18: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 44376 invoked by uid 99); 20 Jan 2006 18:18: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; Fri, 20 Jan 2006 10:18:03 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 624E512 for ; Fri, 20 Jan 2006 19:17:42 +0100 (CET) Message-ID: <428984510.1137781062379.JavaMail.jira@ajax.apache.org> Date: Fri, 20 Jan 2006 19:17:42 +0100 (CET) From: "Franz Fehringer (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXISCPP-914) fault/exception/error handling flawed In-Reply-To: <1970162141.1137780941964.JavaMail.jira@ajax.apache.org> 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 [ http://issues.apache.org/jira/browse/AXISCPP-914?page=all ] Franz Fehringer updated AXISCPP-914: ------------------------------------ Attachment: vakanz.wsdl vakanz.xsd > fault/exception/error handling flawed > ------------------------------------- > > Key: AXISCPP-914 > URL: http://issues.apache.org/jira/browse/AXISCPP-914 > Project: Axis-C++ > Type: Bug > Components: Client - Stub > Versions: 1.6 Alpha > Environment: WIN2KSP4 JDK1.5.0_06 MSVC6SP6 > Reporter: Franz Fehringer > Attachments: vakanz.wsdl, vakanz.xsd > > fault/exception/error handling seems to be flawed in several respects (in what follows i refer to my attached example). > First the intention of the WSDL/XSD writers clearly was to expect an ErrorResponse element inside the soap:faultdetail for the error scenario of all three requests (and i think they are right so). > The Axis generated code instead looks for LoginFault, LogoutFault and SearchRoomsFault. > Second there seem to be problems with memory management. > I get user defined breakpoints and/or access violations at (all in PegsPortType.cpp) > throw fault; // line 588 > delete [] const_cast(detail); // lines 615,720,879 > The const_cast as well as the interplay between assignment and delete operations generally look fishy too me. > In my investigations i stumbled over the generated t_ErrorResponse (derived from SoapFaultException) copy constructor. > The base class is not copied over there. > More to follow. -- 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