Multi-line svn commit, see body.
[shibboleth/cpp-opensaml.git] / saml / binding / SOAPClient.h
index ddbe2e1..52a7845 100644 (file)
@@ -39,7 +39,6 @@ namespace opensaml {
          * Creates a SOAP client instance with a particular SecurityPolicy.
          * 
          * @param policy        reference to SecurityPolicy to apply
-         * @param validating    controls schema validation
          */
         SOAPClient(SecurityPolicy& policy)
             : soap11::SOAPClient(policy.getValidating()), m_policy(policy), m_force(true), m_peer(NULL), m_criteria(NULL) {
@@ -59,6 +58,8 @@ namespace opensaml {
             m_force = force;
         }
         
+        using soap11::SOAPClient::send;
+
         /**
          * SAML-specific method uses a RoleDescriptor to determine the peer name and prepare the
          * transport layer with peer credential information. The SecurityPolicy is also reset,
@@ -68,7 +69,7 @@ namespace opensaml {
          * @param peer      peer to send message to, expressed in metadata criteria terms
          * @param endpoint  URL of endpoint to recieve message
          */
-        void send(const soap11::Envelope& env, saml2md::MetadataCredentialCriteria& peer, const char* endpoint);
+        virtual void send(const soap11::Envelope& env, saml2md::MetadataCredentialCriteria& peer, const char* endpoint);
         
         /**
          * Override applies SecurityPolicy to envelope before returning it.