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 name
Messages: 75
Registered: July 2009
Member
Hi,

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 http://schemas.xmlsoap.org/wsdl/ 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?

R

WSDLValidator wsdlVlidator= new WSDLValidator();
IValidationReport report = wsdlVlidator.validate(pathToWsdl);
IValidationMessage[] validationMessages = report.getValidationMessages();
for (IValidationMessage iValidationMessage : validationMessages)
{
System.out.println(iValidationMessage.getLine()+","+iValidationMessage.getColumn()+"-"+iValidationMessage.getSeverity()+"["+iValidationMessage.getMessage()+"]");

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


Current Time: Fri Sep 19 04:01:49 GMT 2014

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

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