Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Eclipse to ignore errors in WSDL file?

Tags:

wsdl

eclipse

EDIT: To be clear, I want to get rid of the big red X on my project, not just filter the errors from the "Problems" list.

I get a bunch of these errors. How do I make Eclipse ignore them? I donøt have the option of fixing the actual problem :(

src-resolve.4.2: Error resolving component 'ser:char'. It was detected that 'ser:char' is in namespace 'http://schemas.microsoft.com/2003/10/Serialization/', but components from this namespace are not referenceable from schema document 'file:///Users/itunesuser/git/online-service-wizard/suppression-extension/src/main/resources/com/satorisoftware/ws/infuse/multiservice/multiservice.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'ser:char' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///Users/itunesuser/git/online-service-wizard/suppression-extension/src/main/resources/com/satorisoftware/ws/infuse/multiservice/multiservice.wsdl'. multiservice.wsdl /Scrubbr-suppression-extension/src/main/resources/com/satorisoftware/ws/infuse/multiservice line 623 WSDL Problem

like image 380
Anders Johansen Avatar asked Feb 14 '14 08:02

Anders Johansen


Video Answer


2 Answers

Go to window > preferences search for validations(it is not under any menu) > scroll down for wsdl and uncheck the wsdl in the list see the screenshot like below.

enter image description here

like image 61
Zeus Avatar answered Sep 21 '22 14:09

Zeus


Go to Properties, find Validation, switch off WSDL validation entirely.

Not ideal, but better than nothing.

like image 43
Anders Johansen Avatar answered Sep 19 '22 14:09

Anders Johansen