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.