if(createSequence.isSetExpires())
s.expires = convertToLocalTime(createSequence.getExpires());
sequenceStore.create(s);
CreateSequenceResponseDocument responseDoc = CreateSequenceResponseDocument.Factory.newInstance();
CreateSequenceResponseType response = responseDoc.addNewCreateSequenceResponse();
Identifier identifier = response.addNewIdentifier();
identifier.setStringValue(s.identifier);
if(s.expires!=0)
response.setExpires(convertToDuration(s.expires));