-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
feedback providedFeedback has been provided to the authorFeedback has been provided to the author
Description
JAXB by default silently ignores errors.
Can you add this code to throw an exception if something goes wrong.
To SoapEncoder & SoapDecoder
unmarshaller.setEventHandler(
new ValidationEventHandler() {
@Override
public boolean handleEvent(ValidationEvent event ) {
throw new RuntimeException(event.getMessage(),
event.getLinkedException());
}
});
Metadata
Metadata
Assignees
Labels
feedback providedFeedback has been provided to the authorFeedback has been provided to the author