git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@185
fb386ef7-a10c-0410-8ebf-
fd3f8e989ab0
if (http) {
http->setRequestHeader("SOAPAction", "http://www.oasis-open.org/committees/security");
http->setRequestHeader("Xerces-C", XERCES_FULLVERSIONDOT);
- http->setRequestHeader("XML-Security-C", XSEC_VERSION);
+ http->setRequestHeader("XML-Security-C", XSEC_FULLVERSIONDOT);
http->setRequestHeader("OpenSAML-C", OPENSAML_FULLVERSIONDOT);
}
if (response) {
// Check InResponseTo.
- if (m_correlate && !XMLString::equals(m_correlate, response->getInResponseTo()))
+ if (m_correlate && response->getInResponseTo() && !XMLString::equals(m_correlate, response->getInResponseTo()))
throw BindingException("InResponseTo attribute did not correlate with the Request ID.");
// Check Status.
if (response) {
// Check InResponseTo.
- if (m_correlate && !XMLString::equals(m_correlate, response->getInResponseTo()))
+ if (m_correlate && response->getInResponseTo() && !XMLString::equals(m_correlate, response->getInResponseTo()))
throw BindingException("InResponseTo attribute did not correlate with the Request ID.");
// Check Status.