//TODO: Attachments are not used
// Packet are handled through MessageContext
if(lm.isPayloadModifed()){
Message msg = packet.getMessage();
HeaderList headers = msg.getHeaders();
AttachmentSet attachments = msg.getAttachments();
Source modifiedPayload = lm.getModifiedPayload();
if(modifiedPayload == null){
packet.setMessage(new EmptyMessageImpl(headers,attachments,binding.getSOAPVersion()));
} else {
packet.setMessage(new PayloadSourceMessage(headers,modifiedPayload, attachments, binding.getSOAPVersion()));