Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 28785 invoked from network); 5 Aug 2005 09:30:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Aug 2005 09:30:52 -0000 Received: (qmail 24205 invoked by uid 500); 5 Aug 2005 09:30:51 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 24187 invoked by uid 500); 5 Aug 2005 09:30: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 24170 invoked by uid 99); 5 Aug 2005 09:30:50 -0000 X-ASF-Spam-Status: No, hits=0.0 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, 05 Aug 2005 02:30:38 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0C274DF for ; Fri, 5 Aug 2005 11:30:35 +0200 (CEST) Message-ID: <1596582957.1123234235026.JavaMail.jira@ajax.apache.org> Date: Fri, 5 Aug 2005 11:30:35 +0200 (CEST) From: "Dushshantha Chandradasa (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Commented: (AXISCPP-778) WSDL2Ws generates bad code with multiple xsd:any's in a complex type In-Reply-To: <1538466194.1123102295711.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-778?page=comments#action_12317763 ] Dushshantha Chandradasa commented on AXISCPP-778: ------------------------------------------------- The problem seems to be in the method call Utils.findQName("", "any") in private static Vector processSequenceNode method of CSchemaUtils class. I think this method call returns the string "any" which take as the element name. In writeDeSerializeGlobalMethod() of BeanParamWriter class, the method name is hardcoded as any. if (attribs[i].isAnyType()) { writer.write("\tparam->any = pIWSDZ->getAnyObject();\n"); } But i didn,t find how we miss int element which is in between the 2 any elements. > WSDL2Ws generates bad code with multiple xsd:any's in a complex type > -------------------------------------------------------------------- > > Key: AXISCPP-778 > URL: http://issues.apache.org/jira/browse/AXISCPP-778 > Project: Axis-C++ > Type: Bug > Components: WSDL processing - Doc > Reporter: Mark Whitlock > > I had a wsdl that has a complex type that contained a sequence of xsd:any, xsd:int and another xsd:any. The class that WSDL2Ws generated contained two AnyType's both with a field name of any and no int. Firstly the int was missing. Secondly the generated class would not compile since the two fields had the same name. -- 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