Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 93125 invoked from network); 6 May 2004 02:53:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 May 2004 02:53:38 -0000 Received: (qmail 63578 invoked by uid 500); 6 May 2004 02:53:16 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 63557 invoked by uid 500); 6 May 2004 02:53:16 -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 63545 invoked from network); 6 May 2004 02:53:16 -0000 Received: from unknown (HELO kiku.7777.net) (216.71.84.236) by daedalus.apache.org with SMTP; 6 May 2004 02:53:16 -0000 Received: from ias ([210.216.114.99]) by kiku.7777.net (8.11.6/8.11.6) with ESMTP id i462rND25268 for ; Thu, 6 May 2004 11:53:24 +0900 Message-Id: <200405060253.i462rND25268@kiku.7777.net> From: "Ias" To: Subject: RE: [jira] Closed: (AXIS-1345) WSDL2Java creates strange decorated QNames Date: Thu, 6 May 2004 11:53:21 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcQyrk2Mi77WlQC2RPSytsgXoHT/rQAZV7SA X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Please refer to http://marc.theaimsgroup.com/?l=3Daxis-dev&m=3D108081234712598&w=3D2 . =20 Regards, Ias > -----Original Message----- > From: Yu, Joel, Contractor=20 > [mailto:Joel.Yu.Ctr@asamra.hoffman.army.mil]=20 > Sent: Wednesday, May 05, 2004 11:43 PM > To: 'axis-dev@ws.apache.org' > Subject: RE: [jira] Closed: (AXIS-1345) WSDL2Java creates=20 > strange decorated QNames >=20 > Is it correct for QNames to have '>' as part of localName, or=20 > this is complete wrong? >=20 > for axis 1.1, I have the following code: > elemField.setXmlType(new > javax.xml.namespace.QName("http://schemas.monster.com/Monster", > ">Affiliations>Affiliation")); >=20 > for axis 1.2beta, I have this: > elemField.setXmlType(new > javax.xml.namespace.QName("http://schemas.monster.com/Monster", > ">>Affiliations>Affiliation")) >=20 > so if having '>' is wrong, then 1.2beta have not fixed this bug. >=20 > please respond. >=20 > -----Original Message----- > From: jira@apache.org [mailto:jira@apache.org] > Sent: Tuesday, May 04, 2004 10:45 AM > To: axis-dev@ws.apache.org > Subject: [jira] Closed: (AXIS-1345) WSDL2Java creates strange=20 > decorated QNames >=20 >=20 > Message: >=20 > The following issue has been closed. >=20 > Resolver: Davanum Srinivas > Date: Tue, 4 May 2004 7:44 AM >=20 > Fixed in 1.2 Beta. > --------------------------------------------------------------------- > View the issue: > http://issues.apache.org/jira/browse/AXIS-1345 >=20 > Here is an overview of the issue: > --------------------------------------------------------------------- > Key: AXIS-1345 > Summary: WSDL2Java creates strange decorated QNames > Type: Bug >=20 > Status: Closed > Priority: Major > Resolution: FIXED >=20 > Project: Axis > Components:=20 > WSDL processing > Versions: > 1.1 >=20 > Assignee:=20 > Reporter: Annette S=FCndermann >=20 > Created: Tue, 4 May 2004 7:28 AM > Updated: Tue, 4 May 2004 7:44 AM > Environment: Java 1.4.2 b28 > Xerces_J1.4.0 >=20 > Description: > When feeding > org.apache.axis.wsdl.WSDL2Java -s -S true >=20 > with the following WSDL: >=20 > > xmlns:soap=3D"http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:http=3D"http://schemas.xmlsoap.org/wsdl/http/" > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" > xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" > xmlns:mime=3D"http://schemas.xmlsoap.org/wsdl/mime/" > xmlns:myns=3D"http://bugdemo/myns"=20 > targetNamespace=3D"http://bugdemo/myns"> > > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"=20 > elementFormDefault=3D"qualified" > attributeFormDefault=3D"unqualified"=20 > targetNamespace=3D"http://bugdemo/myns"> > " > > > name=3D"UserName" > type=3D"xsd:string"/> > > > > " > > > name=3D"Greeting" > type=3D"xsd:string"/> > > > > > > > > > > > > > > > > > > > transport=3D"http://schemas.xmlsoap.org/soap/http"/> > > > > > > > > > > > > > > > > >=20 > the generated code contains some calls to the QName class=20 > constructor with strangely decorated Element names, like: >=20 > new javax.xml.namespace.QName("http://192.168.1.23/parkinfo", ">get") >=20 > in the ReadBindingSkeleton.java, but also in other generated code. >=20 > Furtehrmore, the generated deploy.wsdd contains typeMapping=20 > elements like: >=20 > qname=3D"ns:>get" > type=3D"java:de.sycada.bugdemo.server._get" > serializer=3D"org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer=3D"org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle=3D""/> >=20 > with the same strange decorator in the qname. >=20 > In nested elements, this leads to qnames like >data>timestamp. >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > JIRA INFORMATION: > This message is automatically generated by JIRA. >=20 > If you think it was sent incorrectly contact one of the=20 > administrators: > http://issues.apache.org/jira/secure/Administrators.jspa >=20 > If you want more information on JIRA, or have a bug to report see: > http://www.atlassian.com/software/jira >=20