X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling%2Fsoap%2Fimpl%2FSOAPClient.cpp;h=2a569797e7d3f38ad6c24284f1dec088e275a73d;hp=fbfc1bd7e0278e1f51812d1c5f73f97996870f43;hb=6505807a62569ce65803b448b07a6872c6af2512;hpb=e4d3ad9286b650c25c50b1b2226d1fda5e15f6a3 diff --git a/xmltooling/soap/impl/SOAPClient.cpp b/xmltooling/soap/impl/SOAPClient.cpp index fbfc1bd..2a56979 100644 --- a/xmltooling/soap/impl/SOAPClient.cpp +++ b/xmltooling/soap/impl/SOAPClient.cpp @@ -46,14 +46,14 @@ void SOAPClient::reset() m_transport=NULL; } -void SOAPClient::send(const Envelope& env, const KeyInfoSource& peer, const char* endpoint) +void SOAPClient::send(const Envelope& env, const char* peerName, const char* endpoint) { // Prepare a transport object. const char* pch = strchr(endpoint,':'); if (!pch) throw IOException("SOAP endpoint was not a URL."); string scheme(endpoint, pch-endpoint); - m_transport = XMLToolingConfig::getConfig().SOAPTransportManager.newPlugin(scheme.c_str(), make_pair(&peer,endpoint)); + m_transport = XMLToolingConfig::getConfig().SOAPTransportManager.newPlugin(scheme.c_str(), make_pair(peerName,endpoint)); prepareTransport(*m_transport); // Serialize envelope.