/*
- * Copyright 2001-2006 Internet2
+ * Copyright 2001-2007 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
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->getID());
Body* body = env->getBody();
if (body && body->hasChildren()) {
// Check for SAML Response.
- StatusResponseType* response = dynamic_cast<StatusResponseType*>(body->getXMLObjects().front());
+ StatusResponseType* response = dynamic_cast<StatusResponseType*>(body->getUnknownXMLObjects().front());
if (response) {
// Check InResponseTo.