1 10 11 package org.mule.providers.soap; 12 13 import org.mule.interceptors.EnvelopeInterceptor; 14 import org.mule.umo.Invocation; 15 import org.mule.umo.UMOException; 16 import org.mule.config.MuleProperties; 17 18 25 public class MethodFixInterceptor extends EnvelopeInterceptor 26 { 27 28 public void before(Invocation invocation) throws UMOException 29 { 30 invocation.getMessage().setProperty(MuleProperties.MULE_IGNORE_METHOD_PROPERTY, new Boolean (true)); 31 } 32 33 public void after(Invocation invocation) throws UMOException 34 { 35 if (invocation.getMessage() != null) 36 { 37 invocation.getMessage().removeProperty(MuleProperties.MULE_IGNORE_METHOD_PROPERTY); 38 } 39 } 40 } 41 | Popular Tags |