The jaxws maven plugin currently does not fail the maven build when it encounters errors such as these:
[WARNING] derivation-ok-restriction.5.4.2: Error for type '#AnonType_SaveKlant'. The particle of the type is not a valid restriction of the particle of the base.
line 47 of file:/C:/Documents%20and%20Settings/gschuring/workspace/service-klant-origineel/src/main/resources/META-INF/wsdl/service-klant.wsdl#types?schema1
My build fails some time later on compilation errors that are a result of the fact that the WSDL is not valid and doesn't produce the correct java artifacts. I would like to propose a configurable property that fails the maven build directly when errors are encountered while processing the WSDL.