CXF WS: Custom exceptions members with @XmlTypeAdapter are not published in wsdl

Solution Verified - Updated -

Issue

Methods having @XmlTypeAdapter in exception types are not published in the wsdl.

Example:

public abstract class AbstractWSException extends Exception {
...

@XmlJavaTypeAdapter(ValidationMapAdapter.class)
public ValidationMap getValidationMap() {
    return validationMap;
}

...
}

Environment

Red Hat JBoss Enterprise Application Platform 5.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.