Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 95813 invoked by uid 500); 5 Feb 2002 17:21:19 -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 95599 invoked from network); 5 Feb 2002 17:21:17 -0000 Subject: Re: WSDL syntax checker 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 11:21:15 -0600 X-MIMETrack: Serialize by Router on D04NM202/04/M/IBM(Release 5.0.9 |November 16, 2001) at 02/05/2002 12:21:18 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Here's my 2 cents. There are very few syntax checks within WSDL2Java. The WSDL2Java emitter walks the model provided by WSDL4J to generate the code. Therefore any syntax checking should be done in WSDL4J not within the WSDL2Java emitter. In addition, WSDL4J should provide a better way of modeling the xml schema type section so that the WSDL2Java emitter could more easily walk the types. So since the WSLD4J library produces the model, I would like to see syntax checking and schema validation within the WSDL4J library. The emitter should be able to turn on/off checking. So even though I agree with Rick that checking is important.. -1 for this code to be added directly into the Axis emitters. Rick, are there some syntax errors that you are particularly interested in? Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) Rick Rineholt/Raleigh/ To: axis-dev@xml.apache.org IBM@IBMUS cc: Subject: WSDL syntax checker 02/05/2002 11:05 AM Please respond to axis-dev I was wondering how difficult it would be to provide either a "syntax check only" option to WSDL2Java utility or yet another utility that would reuse 99% of the functionality that is in WSDL2Java to just syntax check WSDL. Ideally validating any referenced schema too. I'm "assuming" that this utiity is already providing a reasonable amount of checking prior to generation stage. I know your going to ask why not then just delete the generated code. And the only answer I have is convenience :-) Rick Rineholt "The truth is out there... All you need is a better search engine!" rineholt@us.ibm.com