Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 41488 invoked by uid 500); 8 Feb 2002 22:22:43 -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 41479 invoked from network); 8 Feb 2002 22:22:42 -0000 Importance: Normal Subject: Re: WSDL2Java Plus TypeMapping (+1 ?) To: axis-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: "Russell Butek" Date: Fri, 8 Feb 2002 16:22:16 -0600 X-MIMETrack: Serialize by Router on D04NMS23/04/M/IBM(Release 5.0.8 |June 18, 2001) at 02/08/2002 05:22:47 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Rich, you knew I would say +1! Russell Butek butek@us.ibm.com R J Scheuerle Jr/Austin/IBM@IBMUS on 02/08/2002 04:07:31 PM Please respond to axis-dev@xml.apache.org To: axis-dev@xml.apache.org cc: Subject: WSDL2Java Plus TypeMapping (+1 ?) Folks, The runtime uses the information in the default TypeMapping to get the base qname <-> java information. The Java2WSDL emitter uses the default TypeMapping information to get java -> qname information. However WSDL2Java uses the routine Utils.getBaseJavaName(qname) method to get the qname -> java base names. I have almost completed the changes in my sandbox to change WSDL2Java to use the default TypeMapping. This has the following advantages: - Keeps the runtime and the emitter in sync. - Removal of hard-coded Utils.getBaseJavaName routine. - Further tests TypeMapping registry. Related changes: - Adding this support via the WriterFactory so that other developers provider their own mappings. - Changing the name of BaseJavaType objects to BaseType objects - Made improvements to the Hex support in the runtime, including JavaUtils.convert() changes to convert between byte[] and Hex. Comments ? Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115