* @param soapMessage soap message from which object will be deserialized
*/
public final void deserialize(RMSerializable object, RMProvider provider, SOAPMessage soapMessage)
throws RMException
{
RMTerminateSequenceResponse o = (RMTerminateSequenceResponse)object;
try
{
SOAPBody soapBody = soapMessage.getSOAPPart().getEnvelope().getBody();
RMConstants wsrmConstants = provider.getConstants();
// read required wsrm:TerminateSequenceResponse element
QName terminateSequenceResponseQName = wsrmConstants.getTerminateSequenceResponseQName();
SOAPElement terminateSequenceResponseElement = getRequiredElement(soapBody, terminateSequenceResponseQName, "soap body");
// read required wsrm:Identifier element
QName identifierQName = wsrmConstants.getIdentifierQName();
SOAPElement identifierElement = getRequiredElement(terminateSequenceResponseElement, identifierQName, terminateSequenceResponseQName);
String identifier = getRequiredTextContent(identifierElement, identifierQName);
o.setIdentifier(identifier);
}
catch (SOAPException se)
{
throw new RMException("Unable to deserialize RM message", se);
}