[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.wsvt] Re: WSVT without Eclipse

Hi,

If you work with the latest WSDL validator in CVS (extract and build it 
yourself) you can easily do what you want as follows.

WSDLValidator validator = WSDLValidator.getInstance();
ValidationReport valreport = validator.validate(fileuri);

The validation report contains validation information such as error and 
warning messages.


Lawrence

>Hi,
>
>I would like to use WSVT to validate WSDL documents directly in a java
>program. So I don't want to use it using Eclipse nor the Ant task, I'd
>like to use the validator API.
>
>Is there an example or something that can help me somewhere? I started
>from the Ant task but it's using many Ant constructs that I can't use in
>my situation. I'll probably be able to find a way around this but I was
>wondering if someone didn't do already the same thing.
>
>Thanks.