Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » offline WSDLValidator.validate()
offline WSDLValidator.validate() [message #1059342] Fri, 17 May 2013 15:05
Raster R is currently offline Raster RFriend
Messages: 77
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: Thu Apr 25 17:22:39 GMT 2024

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

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

Back to the top