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: [EMAIL PROTECTED] 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!" [EMAIL PROTECTED]