Search code examples
eclipsewsdl

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


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


Solution

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

    Not ideal, but better than nothing.