From axis-c-dev-return-8804-apmail-ws-axis-c-dev-archive=ws.apache.org@ws.apache.org Tue Dec 13 17:54:23 2005 Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 47526 invoked from network); 13 Dec 2005 17:54:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 17:54:19 -0000 Received: (qmail 72022 invoked by uid 500); 13 Dec 2005 08:54:11 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 71893 invoked by uid 500); 13 Dec 2005 08:54:10 -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 71876 invoked by uid 99); 13 Dec 2005 08:54:10 -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, 13 Dec 2005 00:54:10 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 62C7622E for ; Tue, 13 Dec 2005 09:53:45 +0100 (CET) Message-ID: <869307539.1134464025382.JavaMail.jira@ajax.apache.org> Date: Tue, 13 Dec 2005 09:53:45 +0100 (CET) From: "Dushshantha Chandradasa (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-149) Memory cleaning of generated C++ array code In-Reply-To: <1794896755.1094180630170.JavaMail.apache@nagoya> 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-149?page=comments#action_12360287 ] Dushshantha Chandradasa commented on AXISCPP-149: ------------------------------------------------- Doc/lit server side is perfectly working with windows. Can test with InteropTestRound1Doc test case. The service for this test is InreopBaseDoc. In RPC, there is a deserialization problem. The deserializer returns a null array. It looks to me as the deserializer cannot correctly handle the wrapper element of the array. 0th element of string array 1th element of string array service fails to deserialize this part of the message. > Memory cleaning of generated C++ array code > ------------------------------------------- > > Key: AXISCPP-149 > URL: http://issues.apache.org/jira/browse/AXISCPP-149 > Project: Axis-C++ > Type: Improvement > Components: WSDL processing - RPC > Versions: 1.3 Final > Environment: All Platforms > Reporter: Samisa Abeysinghe > Assignee: Dushshantha Chandradasa > Fix For: 1.6 Alpha > > In case of Arrays, I noticed that the WSDL2WS tool is generating a > struct. > e.g. > typedef struct SOAPStruct_ArrayTag > { > SOAPStruct* m_Array; > int m_Size; > } SOAPStruct_Array; > The trouble here is that in case of returned values/parameters the user > has to delete the m_Array mamber explicitly. > I think a more cleaner way would be to use a class here and use a > destructor to clean memory. -- 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