Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How can i validate a WST WSDL model programitically
How can i validate a WST WSDL model programitically [message #226497] Tue, 13 January 2009 06:26 Go to next message
Keshavrao  is currently offline Keshavrao
Messages: 34
Registered: July 2009
Member
Hi,

Is it possible to validate a WST WSDL model w.r.t the specfication of WSDL
programatically, well i can see these messages in the WSDL WST editor with
validate action but i want to get them programatically.


Thanks in advance.


Regards,
Keshav Veerapaneni.
Re: How can i validate a WST WSDL model programitically [message #226511 is a reply to message #226497] Tue, 13 January 2009 11:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Keshavrao,

Maybe like XSDConcreteComponent and hence XSDSchema, the WSDL model
provides a validate method on the root object for this purpose.


Keshavrao wrote:
> Hi,
>
> Is it possible to validate a WST WSDL model w.r.t the specfication of
> WSDL programatically, well i can see these messages in the WSDL WST
> editor with validate action but i want to get them programatically.
>
>
> Thanks in advance.
>
>
> Regards,
> Keshav Veerapaneni.
>
Re: How can i validate a WST WSDL model programitically [message #226558 is a reply to message #226497] Tue, 13 January 2009 16:38 Go to previous message
Eclipse User
Originally posted by: wuamy.ca.ibm.com

You might be able to use this class:
org.eclipse.wst.wsdl.validation.internal.ValidationControlle r

Though you'd still have to set up WSDLValidationConfiguration & an
implementation of IValidationReport to get the validation messages.
Previous Topic:How to turn on validation on a WTP XML editor?
Next Topic:XML Editor - "Reload dependencies" only from design-mode?
Goto Forum:
  


Current Time: Mon Sep 22 00:14:17 GMT 2014

Powered by FUDForum. Page generated in 0.08936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software