Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » offline WSDLValidator.validate()
offline WSDLValidator.validate() [message #1059342] Fri, 17 May 2013 15:05
Raster Mising name is currently offline Raster Mising nameFriend
Messages: 75
Registered: July 2009

Am trying to execute the following code.
It works quite well when I am connected to the internet.
When offline its trying to locate the for finding <definitions/> element in the wsdl.

Error then is this: Cannot find the declaration of element 'definitions'.

How can I make this code work when offline?


WSDLValidator wsdlVlidator= new WSDLValidator();
IValidationReport report = wsdlVlidator.validate(pathToWsdl);
IValidationMessage[] validationMessages = report.getValidationMessages();
for (IValidationMessage iValidationMessage : validationMessages)

Previous Topic:IWAB0523E Error moving resource: null
Next Topic: Eclipse wsdl validator doesn't show exact error
Goto Forum:

Current Time: Wed Apr 01 08:22:08 GMT 2015

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

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