1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.module.cxf.support; 8 9 10 import org.apache.cxf.binding.soap.interceptor.StartBodyInterceptor; 11 import org.apache.cxf.phase.Phase; 12 13 /** 14 * The ReversibleValidatingInterceptor is going to allow to reset the Xml Stream Reader once it is consumed 15 * by the CheckClosingTagsInterceptor to validate the schema. 16 */ 17 public class ReversibleValidatingInterceptor extends ReversibleStaxInterceptor 18 { 19 public ReversibleValidatingInterceptor() 20 { 21 super(Phase.READ); 22 addAfter(ProxySchemaValidationInInterceptor.class.getName()); 23 addAfter(StartBodyInterceptor.class.getName()); 24 } 25 26 27 }