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