Like Rich says, WSDL2Java does very little syntax checking.  It DOES do
some, however.  And you can actually run something to 'validate' your WSDL:

java org.apache.axis.wsdl.toJava.Emitter <WSDLfile>

This is an undocumented feature and it will stay undocumented.  But I
frequently find it useful when writing tests.

Russell Butek
[EMAIL PROTECTED]


Rick Rineholt/Raleigh/IBM@IBMUS on 02/05/2002 11:05:54 AM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  WSDL syntax checker



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]



Reply via email to