Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 72900 invoked from network); 20 Jun 2008 22:26:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2008 22:26:14 -0000 Received: (qmail 48064 invoked by uid 500); 20 Jun 2008 22:26:16 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 48050 invoked by uid 500); 20 Jun 2008 22:26:16 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 48039 invoked by uid 99); 20 Jun 2008 22:26:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 15:26:16 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Jun 2008 22:25:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 110FE234C146 for ; Fri, 20 Jun 2008 15:25:45 -0700 (PDT) Message-ID: <701985332.1214000745068.JavaMail.jira@brutus> Date: Fri, 20 Jun 2008 15:25:45 -0700 (PDT) From: "Philip Schlesinger (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-1664) wsdl2java appears to have a length limit for @XmlElement names MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org wsdl2java appears to have a length limit for @XmlElement names -------------------------------------------------------------- Key: CXF-1664 URL: https://issues.apache.org/jira/browse/CXF-1664 Project: CXF Issue Type: Bug Components: JAX-WS Runtime, Soap Binding, WS-* Components Affects Versions: 2.0.7 Environment: Kubuntu 7.10, Eclipse 3.3.2, IndexStock WSDL, Maven 2.0.7, Java version: 1.5.0_13, OS name: "linux" version: "2.6.22-15-generic" arch: "i386" Reporter: Philip Schlesinger Attachments: FreeTextSearch.java WSDL: http://webservices.indexstock.com/ImageSearch/2003/07/15/imagesearch.asmx?WSDL Generate sources using Maven. {code} .... ... ... {code} Note the "s" at the end of "SelectedOutputFields". The generated code for this function will be attached to this bug ticket after I create it. You'll see that the comment section shows: {code} * element name="SelectedOutputField" type="{http://webservice.indexstock.com/imagesearch/2003/07/15/}ArrayOfString" minOccurs="0"/> {code} and in the class, the relevant class variable is declared as: {code} @XmlElement(name = "SelectedOutputField", namespace = "http://webservice.indexstock.com/imagesearch/2003/07/15/") protected ArrayOfString selectedOutputFields; {code} This of course violates the WSDL. It would appear that there is a length limitation. Is IndexStock not following some standard by using a 20 character name? If so, would you mind providing a link to the exact spec where it says the limit is 19 characters? Otherwise, please permit 20+ character names for XmlElements. Thx, Phil -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.