public void processHeaders(SendDataSpecification spec) throws HeaderProcessingException { if (fHeaderProcessor != null) { SendPackage sp = new SendPackage(spec.getTargetURL(), spec.getSOAPMessage()); fHeaderProcessor.processSend(this, sp); spec.setTargetURL(sp.getTargetURL()); } }
public void processHeaders(ReceiveDataSpecification spec) throws HeaderProcessingException { if (fHeaderProcessor != null) { fHeaderProcessor.processReceive(this, spec.getSOAPMessage()); } }