diff options
Diffstat (limited to 'cxfImplementations/PlainInputInterceptor.java')
-rw-r--r-- | cxfImplementations/PlainInputInterceptor.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cxfImplementations/PlainInputInterceptor.java b/cxfImplementations/PlainInputInterceptor.java new file mode 100644 index 0000000..29bfb87 --- /dev/null +++ b/cxfImplementations/PlainInputInterceptor.java @@ -0,0 +1,22 @@ +package at.gv.egovernment.moa.spss.server.webservice.impl; + +import org.apache.cxf.binding.soap.SoapMessage; +import org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor; +import org.apache.cxf.interceptor.Fault; +import org.apache.cxf.phase.Phase; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class PlainInputInterceptor extends AbstractSoapInterceptor { + private static final Logger logger = LoggerFactory.getLogger(PlainInputInterceptor.class); + + public PlainInputInterceptor() { + super(Phase.POST_PROTOCOL); + } + + @Override + public void handleMessage(SoapMessage message) throws Fault { + logger.debug("In Interceptor {}", message.getId()); + } + +} |