Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 4838 invoked by uid 500); 5 Feb 2002 22:43:32 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 4822 invoked from network); 5 Feb 2002 22:43:32 -0000 Subject: Re: WSDL2Java and xsd:simpleTypes To: axis-dev@xml.apache.org Cc: axis-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "R J Scheuerle Jr" Date: Tue, 5 Feb 2002 16:43:35 -0600 X-MIMETrack: Serialize by Router on D04NM202/04/M/IBM(Release 5.0.9 |November 16, 2001) at 02/05/2002 05:43:37 PM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I just committed the support for simpleTypes as described below. Try it out! Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) = =20 R J Scheuerle = =20 Jr/Austin/IBM@IBM To: axis-dev@xml.a= pache.org =20 US cc: axis-dev@xml.a= pache.org =20 Subject: Re: WSDL2Java = and xsd:simpleTypes =20 02/05/2002 11:47 = =20 AM = =20 Please respond to = =20 axis-dev = =20 = =20 = =20 | Is this a known issue, and if so, what is the planned fix?=A0 Would i= t be to | replace all references to the simple | type with references to the base type (or the first base type reached= that | maps to a java type when traversing the | base types?) or to generate the class that is referenced (e.g. | FooSimpleType)? I am working on this now. The planned fix is to replace the references= with the base type (first suggestion above). Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) R J Scheuerle Jr/Austin/IBM@IBM To: axis-dev@xml.apache.org US cc: Subject: Re: WSDL2Java = and xsd:simpleTypes 02/05/2002 09:18 AM Please respond to axis-dev The only simpleTypes that are currently supported are enumerations. We will add your request to our todo list. Thanks, Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) Russell Butek/Austin/IBM@ To: axis-dev@xml.apache.org IBMUS cc: Subject: Re: WSDL2Java = and xsd:simpleTypes 02/05/2002 07:18 AM Please respond to axis-dev Which version of axis are you running? I just tried it this morning wi= th a build from a couple days ago and it worked just fine. Russell Butek butek@us.ibm.com David Altenburg on 02/04/2002 06:31:08 P= M Please respond to axis-dev@xml.apache.org To: axis-dev@xml.apache.org cc: Subject: WSDL2Java and xsd:simpleTypes We're currently having issues with the way that wsdl2java handles simpl= e types that are not enumerations. Currently, a complex type defined as this: =A0 =A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0 =A0=A0=A0 =A0 =A0 =A0=A0=A0 =A0 =A0is translated into this: =A0=A0=A0=A0=A0=A0=A0 public class RootType implements java.io.Serializ= able { =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 private FooSimpleType simpleElem; =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 public RootType() { =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 } =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 public FooSimpleType getSimpleElem() { =A0=A0=A0=A0=A0 =A0 =A0 return simpleElem; =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 } =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 public void setSimpleElem(FooSimpleType= simpleElem) { =A0=A0=A0=A0=A0 =A0 =A0 this.simpleElem =3D simpleElem; =A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 } =A0=A0=A0=A0=A0=A0=A0 } However, FooSimpleType is not generated, so the generated code does not= compile. Is this a known issue, and if so, what is the planned fix?=A0 Would it = be to replace all references to the simple type with references to the base type (or the first base type reached t= hat maps to a java type when traversing the base types?) or to generate the class that is referenced (e.g. FooSimpleType)? Thanks, David Altenburg altenburgd@businesslogic.com =