X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml1%2Fbinding%2Fimpl%2FSAML1SOAPClient.cpp;h=42dae0154c48744b774fa9d8f2ad0ef1c47968ab;hp=7f8b319f3070cc4ab3fb2b58c6762028da9fa6cd;hb=52a4b6e644370ea071381676df5fb497e8832980;hpb=c9e0e2dc2e15d2004333db7f135947db13956b5e diff --git a/saml/saml1/binding/impl/SAML1SOAPClient.cpp b/saml/saml1/binding/impl/SAML1SOAPClient.cpp index 7f8b319..42dae01 100644 --- a/saml/saml1/binding/impl/SAML1SOAPClient.cpp +++ b/saml/saml1/binding/impl/SAML1SOAPClient.cpp @@ -73,7 +73,7 @@ Response* SAML1SOAPClient::receiveSAML() // Check Status. Status* status = response->getStatus(); if (status) { - const QName* code = status->getStatusCode() ? status->getStatusCode()->getValue() : NULL; + const xmltooling::QName* code = status->getStatusCode() ? status->getStatusCode()->getValue() : NULL; if (code && *code != StatusCode::SUCCESS && handleError(*status)) { BindingException ex("SAML Response contained an error."); if (m_soaper.getPolicy().getIssuerMetadata()) @@ -101,7 +101,7 @@ Response* SAML1SOAPClient::receiveSAML() bool SAML1SOAPClient::handleError(const Status& status) { - const QName* code = status.getStatusCode() ? status.getStatusCode()->getValue() : NULL; + const xmltooling::QName* code = status.getStatusCode() ? status.getStatusCode()->getValue() : NULL; auto_ptr_char str((status.getStatusMessage() ? status.getStatusMessage()->getMessage() : NULL)); Category::getInstance(SAML_LOGCAT".SOAPClient").error( "SOAP client detected a SAML error: (%s) (%s)",