X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2SOAPDecoder.cpp;h=9c106381853290d7a577ac3c601ea9c8b3cc28c2;hp=092e7f47ecdf39c3c5640cd61db5353aefa3a537;hb=66136f386ddbdd855e1a078e13e19ddbf64a01e2;hpb=9d09c2047e2c8fb2cd489a6c68df8f7394e82e61 diff --git a/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp b/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp index 092e7f4..9c10638 100644 --- a/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2SOAPDecoder.cpp @@ -88,7 +88,7 @@ XMLObject* SAML2SOAPDecoder::decode( Body* body = env->getBody(); if (body && body->hasChildren()) { - RequestAbstractType* request = dynamic_cast(body->getXMLObjects().front()); + RequestAbstractType* request = dynamic_cast(body->getUnknownXMLObjects().front()); if (request) { // Run through the policy at two layers. policy.evaluate(*env, &genericRequest);