Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 87116 invoked from network); 28 Apr 2005 02:31:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2005 02:31:49 -0000 Received: (qmail 41680 invoked by uid 500); 28 Apr 2005 02:32:45 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 41623 invoked by uid 500); 28 Apr 2005 02:32:45 -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: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 41570 invoked by uid 99); 28 Apr 2005 02:32:44 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 27 Apr 2005 19:32:44 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 245902DE for ; Thu, 28 Apr 2005 04:31:41 +0200 (CEST) Message-ID: <1210681747.1114655501147.JavaMail.jira@ajax.apache.org> Date: Thu, 28 Apr 2005 04:31:41 +0200 (CEST) From: "Mark Hansen (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-1839) CLONE -WSDL2Java creates strange decorated QNames In-Reply-To: <108332225.1109954403296.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1839?page=comments#action_63943 ] Mark Hansen commented on AXIS-1839: ----------------------------------- Sorry for the long delay in responding on this - and I see you have closed it. But, I'm still not comfortable with Glen's reasoning in the email you pointed me to (http://marc.theaimsgroup.com/?l=axis-dev&m=108385790920693&w=2) How can it be "absolutely correct for these characters to appear in generated source code and deployment descriptors" when these characters render the deploy.wsdd to be invalid XML and therefore unusable as deployment descriptors? I understand that the characters get generated to provide a QName that corresponds to an internal anonymous type and that they have nothing to do with what goes on the wire. But, shouldn't deploy.wsdd always be usable as a deployment descriptor? Perhaps we shouldn't include type mappings for such classes in the deploy.wsdd that gets generated. P.S. The reason that I care about this issue is that I have Ant scripts that process this deploy.wsdd for use in some downstream deployments. Right now, I have some hacks to get rid of this "internal use only" type mappings. Not a huge deal, but it doesn't seem right to have to live with these hacks. But maybe I'm still missing the whole point here .... > CLONE -WSDL2Java creates strange decorated QNames > ------------------------------------------------- > > Key: AXIS-1839 > URL: http://issues.apache.org/jira/browse/AXIS-1839 > Project: Axis > Type: Bug > Components: WSDL processing > Versions: 1.1 > Environment: Java 1.4.2 b28 > Xerces_J1.4.0 > Reporter: Mark Hansen > Attachments: OneWayService.wsdl, build.xml > > When feeding > org.apache.axis.wsdl.WSDL2Java -s -S true > with the following WSDL: > > > > > " > > > > > > > " > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > the generated code contains some calls to the QName class > constructor with strangely decorated Element names, like: > new javax.xml.namespace.QName("http://192.168.1.23/parkinfo", ">get") > in the ReadBindingSkeleton.java, but also in other generated code. > Furtehrmore, the generated deploy.wsdd contains typeMapping elements like: > > with the same strange decorator in the qname. > In nested elements, this leads to qnames like >data>timestamp. -- 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