My java webapp uses CXF to publish some web services with SOAP 1.1.
In my server logs (Apache Tomcat catalina.out file) I get entries: GRAVE: SAAJ0303: getFaultSubcodes operation not supported by SOAP 1.1
These log lines occur every time the java webapp business code throws an instance of javax.xml.ws.soap.SOAPFaultException. This exception is handled by Apache CXF org.apache.cxf.jaxws.interceptors.WebFaultOutInterceptor, which calls getFaultSubcodes on the SOAPFault instance.
With SOAP 1.1 SOAPFault, the getFaultSubcodes call throws a UnsupportedOperationException caught by CXF, but the SOAPFault implementation class logs the message. Is there a specific CXF error trap with SOAP 1.1?
Does anyone know how to avoid CXF causing an unsupported GetFaultSubcodes operation?
source
share