X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1SOAPClient.cpp;h=eb78774bc7d4e4b788b8932d4c6e202b4f7c64b6;hb=66136f386ddbdd855e1a078e13e19ddbf64a01e2;hp=7808510ea7fd7b35d86af4000ad7c3f28a8d3244;hpb=7b2379b0581ae09769029861b9bc351e95fed799;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/saml1/binding/impl/SAML1SOAPClient.cpp b/saml/saml1/binding/impl/SAML1SOAPClient.cpp index 7808510..eb78774 100644 --- a/saml/saml1/binding/impl/SAML1SOAPClient.cpp +++ b/saml/saml1/binding/impl/SAML1SOAPClient.cpp @@ -42,7 +42,7 @@ void SAML1SOAPClient::sendSAML(Request* request, const RoleDescriptor& peer, con Envelope* env = EnvelopeBuilder::buildEnvelope(); Body* body = BodyBuilder::buildBody(); env->setBody(body); - body->getXMLObjects().push_back(request); + body->getUnknownXMLObjects().push_back(request); try { send(env, peer, endpoint); m_correlate = XMLString::replicate(request->getRequestID()); @@ -64,7 +64,7 @@ Response* SAML1SOAPClient::receiveSAML() Body* body = env->getBody(); if (body && body->hasChildren()) { // Check for SAML Response. - Response* response = dynamic_cast(body->getXMLObjects().front()); + Response* response = dynamic_cast(body->getUnknownXMLObjects().front()); if (response) { // Check InResponseTo.