Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 69225 invoked from network); 29 Aug 2007 13:15:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 13:15:57 -0000 Received: (qmail 23996 invoked by uid 500); 29 Aug 2007 13:15:50 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 23920 invoked by uid 500); 29 Aug 2007 13:15:49 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 23909 invoked by uid 99); 29 Aug 2007 13:15:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 06:15:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 13:16:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1940071420F for ; Wed, 29 Aug 2007 06:15:31 -0700 (PDT) Message-ID: <2416731.1188393331101.JavaMail.jira@brutus> Date: Wed, 29 Aug 2007 06:15:31 -0700 (PDT) From: "Boyan Yurukov (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-3159) Local types in schemes not supported MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Local types in schemes not supported ------------------------------------ Key: AXIS2-3159 URL: https://issues.apache.org/jira/browse/AXIS2-3159 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: codegen Affects Versions: 1.2, 1.3 Environment: Windows XP SP2, Tomcat 5.5 Reporter: Boyan Yurukov Priority: Critical I am trying to generate a web service from a wsdl that imports several schemes. Most of the schema types are global, but some a local. What happens is that in the schemes I get after the code generation, Those local types get names like "XXX_type0". If they are complexType, they are deleted altogether and swapped with references, but the type itself is not added anywhere in the schema. The same inconsistencies can be seen in the genereated code. Here are some examples: >>>>>>>>Original Schema >>>>>>>>Axis2-generated Schema ------------------------------------------------------------- >>>>>>>>Original Schema >>>>>>>>Axis2-generated Schema >>> and RegistryError_type0 is not defined anywhere I guess that is I make all types - both simple and complex - global it would work, but still the schema will be still changed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org