// generating a new create sequeuce message.
RMMsgContext createSeqRMMessage = RMMsgCreator.createCreateSeqMsg(rmsBean, applicationRMMsg);
messageContext = createSeqRMMessage.getMessageContext();
messageContext.setWSAAction(SpecSpecificConstants.getCreateSequenceAction(Sandesha2Constants.SPEC_VERSIONS.v1_1));
CreateSequence createSeqResPart = (CreateSequence) createSeqRMMessage
.getMessagePart(Sandesha2Constants.MessageParts.CREATE_SEQ);
createSeqResPart.setAcksTo(
new AcksTo(new EndpointReference(AddressingConstants.Final.WSA_NONE_URI),
SpecSpecificConstants.getRMNamespaceValue(rmsBean.getRMVersion()),
AddressingConstants.Final.WSA_NAMESPACE));
// Update the SOAP Envelope of the message