SequenceStore sequenceStore = new NonPersistentSequenceStore();
private static final BigInteger MAX_INTEGER = new BigInteger(""+Integer.MAX_VALUE);
public CreateSequenceResponseDocument createSequence(CreateSequenceDocument requestDoc) {
CreateSequenceType createSequence = requestDoc.getCreateSequence();
Sequence s = new Sequence();
s.acksTo = createSequence.getAcksTo();
if(createSequence.isSetExpires())
s.expires = convertToLocalTime(createSequence.getExpires());
sequenceStore.create(s);
CreateSequenceResponseDocument responseDoc = CreateSequenceResponseDocument.Factory.newInstance();
CreateSequenceResponseType response = responseDoc.addNewCreateSequenceResponse();