git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@255
de75baf8-a10c-0410-a50a-
987c0e22f00f
* @param peer peer to send message to, expressed in TrustEngine terms
* @param endpoint URL of endpoint to recieve message
*/
- virtual void send(const Envelope* env, const xmltooling::KeyInfoSource& peer, const char* endpoint);
+ virtual void send(const Envelope& env, const xmltooling::KeyInfoSource& peer, const char* endpoint);
/**
* Returns the response message, if any. As long as a response is
m_transport=NULL;
}
-void SOAPClient::send(const Envelope* env, const KeyInfoSource& peer, const char* endpoint)
+void SOAPClient::send(const Envelope& env, const KeyInfoSource& peer, const char* endpoint)
{
// Prepare a transport object.
const char* pch = strchr(endpoint,':');
// Serialize envelope.
stringstream s;
- s << *env;
+ s << env;
// Send to peer.
m_transport->send(s);