/** * Create a copy of the SOAPEnvelope * @param sourceEnv * @return targetEnv */ public static SOAPEnvelope copySOAPEnvelope(SOAPEnvelope sourceEnv) { if (LoggingControl.isAnyTracingEnabled() && log.isDebugEnabled()) log.debug("Enter: SandeshaUtil::copySOAPEnvelope"); // Delegate to the CopuUtils provided by Axiom SOAPEnvelope targetEnv = CopyUtils.copy(sourceEnv); if (LoggingControl.isAnyTracingEnabled() && log.isDebugEnabled()) log.debug("Exit: SandeshaUtil::copySOAPEnvelope"); return targetEnv; }