Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 54293 invoked from network); 7 Sep 2006 12:41:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 12:41:06 -0000 Received: (qmail 60653 invoked by uid 500); 7 Sep 2006 12:41:00 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 60611 invoked by uid 500); 7 Sep 2006 12:41:00 -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 60597 invoked by uid 99); 7 Sep 2006 12:41:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 05:41:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 05:40:59 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 99FB8714301 for ; Thu, 7 Sep 2006 12:37:26 +0000 (GMT) Message-ID: <26213992.1157632646550.JavaMail.jira@brutus> Date: Thu, 7 Sep 2006 05:37:26 -0700 (PDT) From: "Todd Doolittle (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-1117) wsdl2java generates invalid wsdl 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 wsdl2java generates invalid wsdl -------------------------------- Key: AXIS2-1117 URL: http://issues.apache.org/jira/browse/AXIS2-1117 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: Tools Environment: Java 1.4.2, Axis2 nightly build from 9/7/2006 Reporter: Todd Doolittle I used wsdl2java to create a service. The wsdl I used contained anonymous inner complex types. The new WSDL that wsd2java created and put in the resource directory created the inner complex types with a name= attribute in the ComplextType tag which I believe is invalid. The full original WSDL is listed at the bottom. Here is a snippet of example WSDL to simplying illustrating the problem... Here are the type definitions. Notice the annonymous inner complex type for the address... After running wsdl2java to create a service, the WSDL is creates and puts in the resource directory would look like this snippet.... Notice in the above snippet, wsdl2java added the name="address_type0" to the anonymous inner ComplexType for the address. I do not believe an inner complex type is allowed to have a name attribute. At least my IDE flags it as an error. Below is the real full WSDL I used with wsdl2java. Below that is the resulting wsdl that wsdl2java placed in the resource directory that appears to be invalid. Original WSDL... The generated invalid WSDL from wsdl2java... -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org